mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-24 00:41:51 +01:00
49719345a7
Cutscene DOF is LOD based, should not have been scaled.
671 lines
36 KiB
Plaintext
671 lines
36 KiB
Plaintext
#version 430
|
|
#extension GL_ARB_texture_gather : enable
|
|
#extension GL_ARB_separate_shader_objects : enable
|
|
// shader 7ca214032b834227 //point "sprites" 2 unverified
|
|
// start of shader inputs/outputs, predetermined by Cemu. Do not touch
|
|
#ifdef VULKAN
|
|
#define ATTR_LAYOUT(__vkSet, __location) layout(set = __vkSet, location = __location)
|
|
#define UNIFORM_BUFFER_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(set = __vkSet, binding = __vkLocation, std140)
|
|
#define TEXTURE_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(set = __vkSet, binding = __vkLocation)
|
|
#define gl_VertexID gl_VertexIndex
|
|
#define gl_InstanceID gl_InstanceIndex
|
|
#define SET_POSITION(_v) gl_Position = _v; gl_Position.z = (gl_Position.z + gl_Position.w) / 2.0
|
|
#else
|
|
#define ATTR_LAYOUT(__vkSet, __location) layout(location = __location)
|
|
#define UNIFORM_BUFFER_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation, std140)
|
|
#define TEXTURE_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation)
|
|
#define SET_POSITION(_v) gl_Position = _v
|
|
#endif
|
|
#ifdef VULKAN
|
|
layout(set = 0, binding = 0) uniform ufBlock
|
|
{
|
|
uniform ivec4 uf_uniformRegisterVS[256];
|
|
};
|
|
#else
|
|
uniform ivec4 uf_uniformRegisterVS[256];
|
|
#endif
|
|
ATTR_LAYOUT(0, 0) in uvec4 attrDataSem0;
|
|
ATTR_LAYOUT(0, 1) in uvec4 attrDataSem1;
|
|
ATTR_LAYOUT(0, 2) in uvec4 attrDataSem2;
|
|
ATTR_LAYOUT(0, 3) in uvec4 attrDataSem5;
|
|
ATTR_LAYOUT(0, 4) in uvec4 attrDataSem6;
|
|
ATTR_LAYOUT(0, 5) in uvec4 attrDataSem7;
|
|
out gl_PerVertex
|
|
{
|
|
vec4 gl_Position;
|
|
float gl_PointSize;
|
|
};
|
|
layout(location = 0) out vec4 passParameterSem144;
|
|
// end of shader inputs/outputs
|
|
const float resScale = float($gameWidth / $width);
|
|
|
|
int clampFI32(int v)
|
|
{
|
|
if( v == 0x7FFFFFFF )
|
|
return floatBitsToInt(1.0);
|
|
else if( v == 0xFFFFFFFF )
|
|
return floatBitsToInt(0.0);
|
|
return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 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 R17i = 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.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.xyzw = attrDataSem2.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.xyzw = attrDataSem5.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.xyzw = attrDataSem6.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 = attrDataSem7.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));
|
|
// 0
|
|
PV0i.x = floatBitsToInt(max(intBitsToFloat(R4i.w), -(intBitsToFloat(R4i.w))));
|
|
R13i.y = floatBitsToInt(max(intBitsToFloat(uf_uniformRegisterVS[196].w), -(intBitsToFloat(uf_uniformRegisterVS[196].w))));
|
|
R125i.z = floatBitsToInt(max(intBitsToFloat(uf_uniformRegisterVS[197].w), -(intBitsToFloat(uf_uniformRegisterVS[197].w))));
|
|
R7i.w = 0x3f800000;
|
|
R127i.x = R1i.y * 0x00000003;
|
|
PS0i = R127i.x;
|
|
// 1
|
|
PV1i.x = floatBitsToInt((intBitsToFloat(uf_uniformRegisterVS[197].w) > 0.0)?1.0:0.0);
|
|
R15i.y = 0x3f800000;
|
|
PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[193].y)));
|
|
PV1i.w = floatBitsToInt((0.0 > intBitsToFloat(uf_uniformRegisterVS[197].w))?1.0:0.0);
|
|
R127i.z = R1i.x * 0x00000003;
|
|
PS1i = R127i.z;
|
|
// 2
|
|
R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.x), intBitsToFloat(uf_uniformRegisterVS[198].x)));
|
|
R8i.y = floatBitsToInt(-(intBitsToFloat(PV1i.z)) + intBitsToFloat(uf_uniformRegisterVS[193].x));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(PV1i.w)));
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(uf_uniformRegisterVS[198].y)));
|
|
R126i.z = R1i.z * 0x00000003;
|
|
PS0i = R126i.z;
|
|
// 3
|
|
backupReg0i = R127i.x;
|
|
R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(uf_uniformRegisterVS[198].z)));
|
|
R10i.y = floatBitsToInt(max(intBitsToFloat(PV0i.z), -(intBitsToFloat(PV0i.z))));
|
|
R11i.z = floatBitsToInt(-(intBitsToFloat(uf_uniformRegisterVS[201].y)) * intBitsToFloat(0x7f7ffffd));
|
|
R11i.z = clampFI32(R11i.z);
|
|
R9i.w = floatBitsToInt(-(intBitsToFloat(uf_uniformRegisterVS[201].x)) * intBitsToFloat(0x7f7ffffd));
|
|
R9i.w = clampFI32(R9i.w);
|
|
R126i.w = floatBitsToInt(float(backupReg0i));
|
|
PS1i = R126i.w;
|
|
// 4
|
|
tempResultf = intBitsToFloat(PS1i);
|
|
tempResultf = floor(tempResultf);
|
|
tempResultf = clamp(tempResultf, -256.0, 255.0);
|
|
ARi.x = int(tempResultf);
|
|
PV0i.x = floatBitsToInt(tempResultf);
|
|
R12i.y = floatBitsToInt(max(intBitsToFloat(uf_uniformRegisterVS[201].x), -(intBitsToFloat(uf_uniformRegisterVS[201].x))));
|
|
R10i.z = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(uf_uniformRegisterVS[197].y));
|
|
R8i.w = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(uf_uniformRegisterVS[197].x));
|
|
R127i.y = floatBitsToInt(float(R127i.z));
|
|
PS0i = R127i.y;
|
|
// 5
|
|
R9i.x = floatBitsToInt(max(intBitsToFloat(uf_uniformRegisterVS[201].y), -(intBitsToFloat(uf_uniformRegisterVS[201].y))));
|
|
tempResultf = intBitsToFloat(PS0i);
|
|
tempResultf = floor(tempResultf);
|
|
tempResultf = clamp(tempResultf, -256.0, 255.0);
|
|
ARi.y = int(tempResultf);
|
|
PV1i.y = floatBitsToInt(tempResultf);
|
|
R12i.z = floatBitsToInt(-(intBitsToFloat(uf_uniformRegisterVS[201].z)) * intBitsToFloat(0x7f7ffffd));
|
|
R12i.z = clampFI32(R12i.z);
|
|
R10i.w = floatBitsToInt(max(intBitsToFloat(uf_uniformRegisterVS[201].z), -(intBitsToFloat(uf_uniformRegisterVS[201].z))));
|
|
R126i.x = R1i.w * 0x00000003;
|
|
PS1i = R126i.x;
|
|
// 6
|
|
backupReg0i = R126i.z;
|
|
PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.x), intBitsToFloat(uf_uniformRegisterVS[195].x)));
|
|
R11i.y = floatBitsToInt(intBitsToFloat(R127i.x) + intBitsToFloat(uf_uniformRegisterVS[197].z));
|
|
R126i.z = floatBitsToInt(-(intBitsToFloat(R6i.w)) + 1.0);
|
|
PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.y), intBitsToFloat(uf_uniformRegisterVS[195].y)));
|
|
R0i.y = floatBitsToInt(float(backupReg0i));
|
|
PS0i = R0i.y;
|
|
// 7
|
|
PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R4i.z), intBitsToFloat(uf_uniformRegisterVS[195].z)));
|
|
R14i.y = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(uf_uniformRegisterVS[196].x));
|
|
tempResultf = intBitsToFloat(PS0i);
|
|
tempResultf = floor(tempResultf);
|
|
tempResultf = clamp(tempResultf, -256.0, 255.0);
|
|
ARi.z = int(tempResultf);
|
|
PV1i.z = floatBitsToInt(tempResultf);
|
|
R11i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(uf_uniformRegisterVS[196].y));
|
|
R3i.w = floatBitsToInt(float(R126i.x));
|
|
PS1i = R3i.w;
|
|
// 8
|
|
R10i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(uf_uniformRegisterVS[196].z));
|
|
R16i.y = floatBitsToInt(1.0);
|
|
PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(uf_uniformRegisterVS[195].w)));
|
|
tempResultf = intBitsToFloat(PS1i);
|
|
tempResultf = floor(tempResultf);
|
|
tempResultf = clamp(tempResultf, -256.0, 255.0);
|
|
ARi.w = int(tempResultf);
|
|
PV0i.w = floatBitsToInt(tempResultf);
|
|
tempResultf = max(0.0, intBitsToFloat(R125i.z));
|
|
tempResultf = log2(tempResultf);
|
|
if( isinf(tempResultf) == true ) tempResultf = -3.40282347E+38F;
|
|
R9i.y = floatBitsToInt(tempResultf);
|
|
PS0i = R9i.y;
|
|
// 9
|
|
R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+40].z)));
|
|
R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+40].y)));
|
|
R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+40].x)));
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+40].w)));
|
|
R13i.z = floatBitsToInt(-(intBitsToFloat(PV0i.z)) + 1.0);
|
|
PS1i = R13i.z;
|
|
// 10
|
|
R125i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+41].z)));
|
|
R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+41].y)));
|
|
R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+41].x)));
|
|
R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+41].w)));
|
|
R9i.z = floatBitsToInt(max(intBitsToFloat(R6i.x), -(intBitsToFloat(R6i.x))));
|
|
PS0i = R9i.z;
|
|
// 11
|
|
R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].z)));
|
|
R1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].y)));
|
|
R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].x)));
|
|
R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].w)));
|
|
R17i.z = 0;
|
|
PS1i = R17i.z;
|
|
// 12
|
|
PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+40].x)));
|
|
R125i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+40].w)));
|
|
R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+40].z)));
|
|
R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+40].y)));
|
|
// 13
|
|
backupReg0i = R126i.z;
|
|
R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+41].x)));
|
|
R4i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+41].w)));
|
|
R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+41].z)));
|
|
R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+41].y)));
|
|
R1i.x = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(PV0i.x));
|
|
PS1i = R1i.x;
|
|
// 14
|
|
backupReg0i = R126i.w;
|
|
R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+42].x)));
|
|
R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+42].w)));
|
|
R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+42].z)));
|
|
R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(uf_uniformRegisterVS[ARi.y+42].y)));
|
|
R1i.w = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i));
|
|
PS0i = R1i.w;
|
|
// 15
|
|
backupReg0i = R127i.x;
|
|
backupReg1i = R125i.y;
|
|
R127i.x = floatBitsToInt(intBitsToFloat(R127i.z) + intBitsToFloat(backupReg0i));
|
|
R125i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(backupReg1i));
|
|
R127i.z = floatBitsToInt(intBitsToFloat(R126i.x) + intBitsToFloat(R125i.z));
|
|
R127i.w = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R125i.w));
|
|
R125i.z = floatBitsToInt(intBitsToFloat(R125i.x) + intBitsToFloat(R126i.z));
|
|
PS1i = R125i.z;
|
|
// 16
|
|
R126i.x = floatBitsToInt(intBitsToFloat(R124i.z) + intBitsToFloat(R124i.x));
|
|
R126i.y = floatBitsToInt(intBitsToFloat(R124i.w) + intBitsToFloat(R4i.y));
|
|
R1i.z = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R4i.z));
|
|
R125i.w = floatBitsToInt(intBitsToFloat(R1i.y) + intBitsToFloat(R126i.w));
|
|
R1i.y = floatBitsToInt(intBitsToFloat(R4i.w) + intBitsToFloat(R127i.y));
|
|
PS0i = R1i.y;
|
|
// 17
|
|
PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+40].x)));
|
|
R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+40].w)));
|
|
R124i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+40].z)));
|
|
R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+40].y)));
|
|
// 18
|
|
R124i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+41].x)));
|
|
R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+41].w)));
|
|
R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+41].z)));
|
|
R124i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+41].y)));
|
|
R125i.x = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R1i.x));
|
|
PS0i = R125i.x;
|
|
// 19
|
|
backupReg0i = R126i.w;
|
|
backupReg1i = R1i.w;
|
|
PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+42].x)));
|
|
R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+42].w)));
|
|
R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+42].z)));
|
|
R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(uf_uniformRegisterVS[ARi.z+42].y)));
|
|
R1i.w = floatBitsToInt(intBitsToFloat(backupReg0i) + intBitsToFloat(backupReg1i));
|
|
PS1i = R1i.w;
|
|
// 20
|
|
R1i.x = floatBitsToInt(intBitsToFloat(R124i.x) + intBitsToFloat(R127i.x));
|
|
R4i.y = floatBitsToInt(intBitsToFloat(R127i.y) + intBitsToFloat(R125i.y));
|
|
R0i.zwx = floatBitsToInt(vec3(intBitsToFloat(R124i.z),intBitsToFloat(R124i.w),intBitsToFloat(PV1i.x)) + vec3(intBitsToFloat(R127i.z),intBitsToFloat(R127i.w),intBitsToFloat(R126i.x)));
|
|
PS0i = R0i.x;
|
|
// 21
|
|
R7i.x = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R125i.w));
|
|
R6i.y = floatBitsToInt(intBitsToFloat(R124i.y) + intBitsToFloat(R126i.y));
|
|
R7i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(R125i.z));
|
|
R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+40].x)));
|
|
R126i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+40].y)));
|
|
PS1i = R126i.y;
|
|
// 22
|
|
R8i.x = floatBitsToInt(intBitsToFloat(R0i.y) + intBitsToFloat(R1i.y));
|
|
R7i.y = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(R1i.z));
|
|
R1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+40].z)));
|
|
R4i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+40].w)));
|
|
R4i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+41].x)));
|
|
PS0i = R4i.z;
|
|
// 23
|
|
backupReg0i = R1i.w;
|
|
R4i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+41].z)));
|
|
R0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+41].y)));
|
|
R8i.z = floatBitsToInt(intBitsToFloat(R126i.w) + intBitsToFloat(R125i.x));
|
|
R1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.w+41].w)));
|
|
R1i.y = floatBitsToInt(intBitsToFloat(R126i.y) + intBitsToFloat(backupReg0i));
|
|
PS1i = R1i.y;
|
|
// 0
|
|
R125i.x = floatBitsToInt(intBitsToFloat(R4i.z) + intBitsToFloat(R1i.x));
|
|
R126i.yzw = floatBitsToInt(vec3(intBitsToFloat(R0i.y),intBitsToFloat(R1i.z),intBitsToFloat(R4i.w)) + vec3(intBitsToFloat(R0i.w),intBitsToFloat(R0i.z),intBitsToFloat(R4i.y)));
|
|
R125i.w = floatBitsToInt(intBitsToFloat(R1i.w) + intBitsToFloat(R6i.y));
|
|
PS0i = R125i.w;
|
|
// 1
|
|
R6i.x = floatBitsToInt(-(intBitsToFloat(uf_uniformRegisterVS[196].w)) * intBitsToFloat(0x7f7ffffd));
|
|
R6i.x = clampFI32(R6i.x);
|
|
R125i.z = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(R7i.z));
|
|
PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R6i.z), intBitsToFloat(uf_uniformRegisterVS[194].z)));
|
|
// 2
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(R8i.z),intBitsToFloat(R1i.y),intBitsToFloat(R126i.z),intBitsToFloat(R126i.w))));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
R6i.w = tempi.x;
|
|
R6i.z = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(uf_uniformRegisterVS[194].x));
|
|
PS0i = R6i.z;
|
|
// 3
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(R3i.y),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),intBitsToFloat(R125i.w))));
|
|
PV1i.x = tempi.x;
|
|
PV1i.y = tempi.x;
|
|
PV1i.z = tempi.x;
|
|
PV1i.w = tempi.x;
|
|
R8i.z = tempi.x;
|
|
R125i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(uf_uniformRegisterVS[202].x)));
|
|
PS1i = R125i.x;
|
|
// 4
|
|
tempResultf = intBitsToFloat(R3i.w);
|
|
tempResultf = floor(tempResultf);
|
|
tempResultf = clamp(tempResultf, -256.0, 255.0);
|
|
ARi.x = int(tempResultf);
|
|
PV0i.x = floatBitsToInt(tempResultf);
|
|
R126i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(uf_uniformRegisterVS[202].y)));
|
|
PV0i.w = floatBitsToInt(max(intBitsToFloat(uf_uniformRegisterVS[199].w), -(intBitsToFloat(uf_uniformRegisterVS[199].w))));
|
|
// 5
|
|
PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.w), intBitsToFloat(R9i.z)));
|
|
// 6
|
|
R4i.x = floatBitsToInt(floor(intBitsToFloat(PV1i.y)));
|
|
// 7
|
|
PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].z)));
|
|
PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].y)));
|
|
PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].x)));
|
|
PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[ARi.x+42].w)));
|
|
// 8
|
|
backupReg0i = R0i.x;
|
|
PV0i.x = floatBitsToInt(intBitsToFloat(PV1i.z) + intBitsToFloat(backupReg0i));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(R7i.x));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R7i.y));
|
|
PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(R8i.x));
|
|
// 9
|
|
backupReg0i = R3i.y;
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R3i.x),intBitsToFloat(backupReg0i),intBitsToFloat(R3i.z),intBitsToFloat(R7i.w)),vec4(intBitsToFloat(PV0i.x),intBitsToFloat(PV0i.y),intBitsToFloat(PV0i.z),intBitsToFloat(PV0i.w))));
|
|
PV1i.x = tempi.x;
|
|
PV1i.y = tempi.x;
|
|
PV1i.z = tempi.x;
|
|
PV1i.w = tempi.x;
|
|
R3i.y = tempi.x;
|
|
// 10
|
|
R125i.z = floatBitsToInt(intBitsToFloat(PV1i.x) + -(intBitsToFloat(uf_uniformRegisterVS[202].z)));
|
|
PV0i.z = R125i.z;
|
|
// 11
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(PV0i.z),0.0)));
|
|
PV1i.x = tempi.x;
|
|
PV1i.y = tempi.x;
|
|
PV1i.z = tempi.x;
|
|
PV1i.w = tempi.x;
|
|
// 12
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),-0.0),vec4(intBitsToFloat(R125i.x),intBitsToFloat(R126i.y),intBitsToFloat(R125i.z),0.0)));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
PS0i = floatBitsToInt(sqrt(intBitsToFloat(PV1i.x)));
|
|
// 13
|
|
PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PS0i), intBitsToFloat(uf_uniformRegisterVS[194].w)));
|
|
tempResultf = 1.0 / sqrt(intBitsToFloat(PV0i.x));
|
|
PS1i = floatBitsToInt(tempResultf);
|
|
// 14
|
|
PV0i.x = floatBitsToInt(-(intBitsToFloat(PV1i.x)) + intBitsToFloat(R8i.y));
|
|
PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.y), intBitsToFloat(PS1i)));
|
|
PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(PS1i)));
|
|
PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PS1i)));
|
|
// 15
|
|
PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.w) + -(0.0));
|
|
R126i.y = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0));
|
|
PV1i.z = floatBitsToInt(intBitsToFloat(PV0i.z) + -(0.0));
|
|
R2i.w = floatBitsToInt(max(intBitsToFloat(PV0i.x), 0.0));
|
|
PV1i.w = R2i.w;
|
|
// 16
|
|
PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_uniformRegisterVS[200].y)));
|
|
PV0i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_uniformRegisterVS[200].x)));
|
|
R2i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(PV1i.z)));
|
|
PV0i.z = R2i.z;
|
|
PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.w), intBitsToFloat(uf_uniformRegisterVS[200].z)));
|
|
R9i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(PV1i.x)));
|
|
PS0i = R9i.z;
|
|
// 17
|
|
PV1i.x = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.w));
|
|
PV1i.y = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.x));
|
|
PV1i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV0i.y));
|
|
R3i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.y),intBitsToFloat(R13i.y)) + 1.0));
|
|
R125i.x = floatBitsToInt(intBitsToFloat(PV0i.z) * 1.0);
|
|
PS1i = R125i.x;
|
|
// 18
|
|
R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(R9i.y)));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c90fdb));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.y) * intBitsToFloat(0x40c90fdb));
|
|
PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c90fdb));
|
|
R125i.w = floatBitsToInt(intBitsToFloat(R9i.z) * -(1.0));
|
|
PS0i = R125i.w;
|
|
// 19
|
|
R123i.x = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x3e22f983) + 0.5));
|
|
PV1i.x = R123i.x;
|
|
R123i.y = floatBitsToInt((intBitsToFloat(PV0i.z) * intBitsToFloat(0x3e22f983) + 0.5));
|
|
PV1i.y = R123i.y;
|
|
R123i.z = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x3e22f983) + 0.5));
|
|
PV1i.z = R123i.z;
|
|
R126i.w = floatBitsToInt(0.0);
|
|
R126i.y = floatBitsToInt((-(0.0) * intBitsToFloat(R3i.w) + intBitsToFloat(R125i.x)));
|
|
PS1i = R126i.y;
|
|
// 20
|
|
PV0i.x = floatBitsToInt(fract(intBitsToFloat(PV1i.y)));
|
|
PV0i.y = floatBitsToInt(fract(intBitsToFloat(PV1i.z)));
|
|
PV0i.z = floatBitsToInt(-(intBitsToFloat(R2i.w)) + intBitsToFloat(uf_uniformRegisterVS[198].w));
|
|
PV0i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.x)));
|
|
R127i.w = floatBitsToInt(exp2(intBitsToFloat(R127i.x)));
|
|
PS0i = R127i.w;
|
|
// 21
|
|
R123i.x = floatBitsToInt((intBitsToFloat(PV0i.y) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb))));
|
|
PV1i.x = R123i.x;
|
|
R124i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R10i.y)) + intBitsToFloat(R2i.w)));
|
|
R123i.z = floatBitsToInt((intBitsToFloat(PV0i.w) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb))));
|
|
PV1i.z = R123i.z;
|
|
R123i.w = floatBitsToInt((intBitsToFloat(PV0i.x) * intBitsToFloat(0x40c90fdb) + -(intBitsToFloat(0x40490fdb))));
|
|
PV1i.w = R123i.w;
|
|
R127i.x = floatBitsToInt(intBitsToFloat(R125i.w) + -(1.0));
|
|
PS1i = R127i.x;
|
|
// 22
|
|
backupReg0i = R126i.y;
|
|
R5i.x = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x3e22f983));
|
|
R126i.y = floatBitsToInt(intBitsToFloat(PV1i.w) * intBitsToFloat(0x3e22f983));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(R126i.w) + -(0.0));
|
|
R126i.w = floatBitsToInt(intBitsToFloat(PV1i.z) * intBitsToFloat(0x3e22f983));
|
|
PV0i.w = R126i.w;
|
|
PS0i = floatBitsToInt(intBitsToFloat(backupReg0i) + -(0.0));
|
|
// 23
|
|
R2i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(PS0i)));
|
|
PV1i.x = R2i.x;
|
|
R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(PV0i.z)));
|
|
PV1i.y = R5i.y;
|
|
PV1i.z = floatBitsToInt(-(intBitsToFloat(R127i.w)) + 1.0);
|
|
R7i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(R13i.y)) + 1.0));
|
|
PV1i.w = R7i.w;
|
|
R126i.z = floatBitsToInt(sin((intBitsToFloat(PV0i.w))/0.1591549367));
|
|
PS1i = R126i.z;
|
|
// 24
|
|
backupReg0i = R124i.y;
|
|
R7i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV1i.w)));
|
|
R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.z)));
|
|
PV0i.y = R124i.y;
|
|
R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.x)));
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PV1i.y)));
|
|
R3i.x = floatBitsToInt(sin((intBitsToFloat(R126i.y))/0.1591549367));
|
|
PS0i = R3i.x;
|
|
// 25
|
|
backupReg0i = R10i.z;
|
|
R0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R8i.w), intBitsToFloat(PV0i.y)));
|
|
R10i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[199].x)));
|
|
R10i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[199].y)));
|
|
R5i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV0i.y)));
|
|
PS1i = floatBitsToInt(cos((intBitsToFloat(R126i.w))/0.1591549367));
|
|
// 26
|
|
PV0i.x = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PS1i));
|
|
R9i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R7i.w)),intBitsToFloat(R3i.w)) + intBitsToFloat(R127i.w)));
|
|
R8i.w = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R5i.y)),intBitsToFloat(R9i.z)) + intBitsToFloat(R125i.z)));
|
|
PS0i = floatBitsToInt(cos((intBitsToFloat(R126i.y))/0.1591549367));
|
|
// 27
|
|
backupReg0i = R11i.y;
|
|
R8i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(uf_uniformRegisterVS[199].z)));
|
|
R11i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R9i.w)) + intBitsToFloat(R126i.z)));
|
|
R3i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(R124i.y)));
|
|
R9i.w = floatBitsToInt(-(intBitsToFloat(R3i.x)) + intBitsToFloat(PS0i));
|
|
R5i.z = floatBitsToInt(sin((intBitsToFloat(R5i.x))/0.1591549367));
|
|
PS1i = R5i.z;
|
|
// 0
|
|
R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R9i.w),intBitsToFloat(R11i.z)) + intBitsToFloat(R3i.x)));
|
|
PV0i.x = R123i.x;
|
|
R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(R10i.y)));
|
|
PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R12i.y), intBitsToFloat(R11i.y)));
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(R10i.z)));
|
|
PS0i = floatBitsToInt(cos((intBitsToFloat(R5i.x))/0.1591549367));
|
|
// 1
|
|
R127i.x = floatBitsToInt(intBitsToFloat(R8i.w) + -(0.0));
|
|
PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.x), intBitsToFloat(PV0i.x)));
|
|
PV1i.z = floatBitsToInt(-(intBitsToFloat(R5i.z)) + intBitsToFloat(PS0i));
|
|
PV1i.w = floatBitsToInt(intBitsToFloat(R0i.x) + intBitsToFloat(PV0i.z));
|
|
R126i.z = floatBitsToInt(intBitsToFloat(R9i.y) + -(1.0));
|
|
PS1i = R126i.z;
|
|
// 2
|
|
backupReg0i = R124i.y;
|
|
R123i.x = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(R2i.x)),intBitsToFloat(R2i.z)) + intBitsToFloat(R7i.x)));
|
|
PV0i.x = R123i.x;
|
|
R124i.y = floatBitsToInt(intBitsToFloat(PV1i.w) + intBitsToFloat(backupReg0i));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(R5i.w) + intBitsToFloat(PV1i.y));
|
|
R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.z),intBitsToFloat(R12i.z)) + intBitsToFloat(R5i.z)));
|
|
PV0i.w = R123i.w;
|
|
R126i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.w), intBitsToFloat(R8i.x)));
|
|
PS0i = R126i.w;
|
|
// 3
|
|
PV1i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R10i.w), intBitsToFloat(PV0i.w)));
|
|
PV1i.y = floatBitsToInt(intBitsToFloat(PV0i.z) + intBitsToFloat(R127i.w));
|
|
R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(R127i.x)));
|
|
PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.x) + -(0.0));
|
|
R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R13i.y)) + 1.0));
|
|
PS1i = R125i.w;
|
|
// 4
|
|
R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R13i.y), intBitsToFloat(PV1i.w)));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(R3i.z) + intBitsToFloat(PV1i.x));
|
|
R126i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.z), intBitsToFloat(PV1i.y)));
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R3i.w), intBitsToFloat(PV1i.y)));
|
|
R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R9i.z), intBitsToFloat(PV1i.y)));
|
|
PS0i = R125i.z;
|
|
// 5
|
|
R125i.x = floatBitsToInt(intBitsToFloat(PV0i.y) + intBitsToFloat(R126i.w));
|
|
PV1i.x = R125i.x;
|
|
PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R7i.w), intBitsToFloat(R124i.y)));
|
|
PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.y), intBitsToFloat(R124i.y)));
|
|
PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.x), intBitsToFloat(R124i.y)));
|
|
R124i.z = floatBitsToInt(intBitsToFloat(R2i.w) + -(intBitsToFloat(0x3a83126f)));
|
|
PS1i = R124i.z;
|
|
// 6
|
|
backupReg0i = R127i.x;
|
|
R127i.x = floatBitsToInt(intBitsToFloat(R125i.z) + intBitsToFloat(PV1i.w));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(R127i.w) + intBitsToFloat(PV1i.z));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(R126i.z) + intBitsToFloat(PV1i.y));
|
|
PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PV1i.x)));
|
|
PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PV1i.x)));
|
|
// 7
|
|
PV1i.x = floatBitsToInt(intBitsToFloat(R124i.z) * intBitsToFloat(0x7f7ffffd));
|
|
PV1i.x = clampFI32(PV1i.x);
|
|
PV1i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(R125i.x)));
|
|
PV1i.z = floatBitsToInt(intBitsToFloat(PS0i) + intBitsToFloat(PV0i.y));
|
|
PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.w) + intBitsToFloat(PV0i.z));
|
|
R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R2i.w),intBitsToFloat(uf_uniformRegisterVS[186].x)) + intBitsToFloat(uf_uniformRegisterVS[186].y)));
|
|
PS1i = R122i.x;
|
|
// 8
|
|
backupReg0i = R127i.x;
|
|
R127i.x = floatBitsToInt(intBitsToFloat(R14i.y) + intBitsToFloat(PV1i.w));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.y) + intBitsToFloat(backupReg0i));
|
|
R124i.z = floatBitsToInt(intBitsToFloat(R11i.w) + intBitsToFloat(PV1i.z));
|
|
R125i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(R13i.z)));
|
|
PS0i = floatBitsToInt(floor(intBitsToFloat(PS1i)));
|
|
// 9
|
|
R124i.y = floatBitsToInt(intBitsToFloat(R4i.x) + intBitsToFloat(PS0i));
|
|
R127i.z = floatBitsToInt(intBitsToFloat(R10i.x) + intBitsToFloat(PV0i.y));
|
|
PV1i.z = R127i.z;
|
|
// 10
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.z),intBitsToFloat(PV1i.z),intBitsToFloat(R15i.y)),vec4(intBitsToFloat(uf_uniformRegisterVS[188].x),intBitsToFloat(uf_uniformRegisterVS[188].y),intBitsToFloat(uf_uniformRegisterVS[188].z),intBitsToFloat(uf_uniformRegisterVS[188].w))));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
// 11
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R15i.y)),vec4(intBitsToFloat(uf_uniformRegisterVS[189].x),intBitsToFloat(uf_uniformRegisterVS[189].y),intBitsToFloat(uf_uniformRegisterVS[189].z),intBitsToFloat(uf_uniformRegisterVS[189].w))));
|
|
PV1i.x = tempi.x;
|
|
PV1i.y = tempi.x;
|
|
PV1i.z = tempi.x;
|
|
PV1i.w = tempi.x;
|
|
R126i.x = floatBitsToInt(intBitsToFloat(R6i.w) + intBitsToFloat(PV0i.x));
|
|
PS1i = R126i.x;
|
|
// 12
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.z),intBitsToFloat(R127i.z),intBitsToFloat(R15i.y)),vec4(intBitsToFloat(uf_uniformRegisterVS[190].x),intBitsToFloat(uf_uniformRegisterVS[190].y),intBitsToFloat(uf_uniformRegisterVS[190].z),intBitsToFloat(uf_uniformRegisterVS[190].w))));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
R126i.y = floatBitsToInt(intBitsToFloat(R8i.z) + intBitsToFloat(PV1i.x));
|
|
PS0i = R126i.y;
|
|
// 13
|
|
backupReg0i = R124i.y;
|
|
R127i.x = floatBitsToInt(intBitsToFloat(R126i.x) + -(intBitsToFloat(uf_uniformRegisterVS[202].x)));
|
|
R124i.y = floatBitsToInt(intBitsToFloat(PS0i) + -(intBitsToFloat(uf_uniformRegisterVS[202].y)));
|
|
R127i.z = floatBitsToInt(intBitsToFloat(R3i.y) + intBitsToFloat(PV0i.x));
|
|
PV1i.z = R127i.z;
|
|
PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(uf_uniformRegisterVS[185].x)));
|
|
// 14
|
|
R125i.x = floatBitsToInt(floor(intBitsToFloat(PV1i.w)));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(PV1i.z) + -(intBitsToFloat(uf_uniformRegisterVS[202].z)));
|
|
PV0i.w = floatBitsToInt(fract(intBitsToFloat(PV1i.w)));
|
|
// 15
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R2i.z),intBitsToFloat(R3i.w),intBitsToFloat(R9i.z),-0.0),vec4(intBitsToFloat(R127i.x),intBitsToFloat(R124i.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(uf_uniformRegisterVS[187].x)));
|
|
// 16
|
|
PV0i.x = floatBitsToInt(floor(intBitsToFloat(PS1i)));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(PV1i.x) * intBitsToFloat(0x7f7ffffd));
|
|
PV0i.y = clampFI32(PV0i.y);
|
|
R17i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.x), intBitsToFloat(uf_uniformRegisterVS[185].y)));
|
|
PS0i = R17i.y;
|
|
// 17
|
|
R17i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(uf_uniformRegisterVS[185].x)));
|
|
PV1i.w = floatBitsToInt(intBitsToFloat(PV0i.y) + -(1.0));
|
|
// 18
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),intBitsToFloat(R16i.y)),vec4(intBitsToFloat(uf_uniformRegisterVS[11].x),intBitsToFloat(uf_uniformRegisterVS[11].y),intBitsToFloat(uf_uniformRegisterVS[11].z),intBitsToFloat(uf_uniformRegisterVS[11].w))));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
R2i.w = tempi.x;
|
|
R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV1i.w),intBitsToFloat(R6i.x)) + 1.0));
|
|
PS0i = R122i.x;
|
|
// 19
|
|
PV1i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + -(intBitsToFloat(uf_uniformRegisterVS[201].w)));
|
|
R124i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PS0i)));
|
|
// 20
|
|
PV0i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(uf_uniformRegisterVS[202].w)));
|
|
PV0i.z = clampFI32(PV0i.z);
|
|
// 21
|
|
R17i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV0i.z)));
|
|
PV1i.w = R17i.w;
|
|
// 22
|
|
PV0i.w = floatBitsToInt(intBitsToFloat(PV1i.w) + -(intBitsToFloat(0x3a83126f)));
|
|
// 23
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),intBitsToFloat(R16i.y)),vec4(intBitsToFloat(uf_uniformRegisterVS[10].x),intBitsToFloat(uf_uniformRegisterVS[10].y),intBitsToFloat(uf_uniformRegisterVS[10].z),intBitsToFloat(uf_uniformRegisterVS[10].w))));
|
|
PV1i.x = tempi.x;
|
|
PV1i.y = tempi.x;
|
|
PV1i.z = tempi.x;
|
|
PV1i.w = tempi.x;
|
|
R2i.z = tempi.x;
|
|
R124i.y = floatBitsToInt(intBitsToFloat(PV0i.w) * intBitsToFloat(0x7f7ffffd));
|
|
R124i.y = clampFI32(R124i.y);
|
|
PS1i = R124i.y;
|
|
// 24
|
|
PV0i.x = floatBitsToInt(-(intBitsToFloat(PS1i)) + 1.0);
|
|
PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.x));
|
|
// 25
|
|
PV1i.x = floatBitsToInt(intBitsToFloat(R6i.z) * intBitsToFloat(PS0i));
|
|
R124i.z = floatBitsToInt(intBitsToFloat(PV0i.x) * intBitsToFloat(0x7f7ffffd));
|
|
// 26
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),intBitsToFloat(R16i.y)),vec4(intBitsToFloat(uf_uniformRegisterVS[8].x),intBitsToFloat(uf_uniformRegisterVS[8].y),intBitsToFloat(uf_uniformRegisterVS[8].z),intBitsToFloat(uf_uniformRegisterVS[8].w))));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
R6i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.y), intBitsToFloat(PV1i.x)));
|
|
PS0i = R6i.x;
|
|
// 27
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R126i.x),intBitsToFloat(R126i.y),intBitsToFloat(R127i.z),intBitsToFloat(R16i.y)),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;
|
|
R2i.x = floatBitsToInt(intBitsToFloat(PV0i.x) + intBitsToFloat(R124i.z));
|
|
PS1i = R2i.x;
|
|
// 28
|
|
R2i.y = floatBitsToInt(intBitsToFloat(PV1i.x) + intBitsToFloat(R124i.z));
|
|
// export
|
|
SET_POSITION(vec4(intBitsToFloat(R2i.x), intBitsToFloat(R2i.y), intBitsToFloat(R2i.z), intBitsToFloat(R2i.w)));
|
|
// export
|
|
gl_PointSize = (vec4(intBitsToFloat(R6i.x), intBitsToFloat(R6i.y), intBitsToFloat(R6i.y), intBitsToFloat(R6i.y))).x/resScale;
|
|
// export
|
|
passParameterSem144 = vec4(intBitsToFloat(R17i.x), intBitsToFloat(R17i.y), intBitsToFloat(R17i.z), intBitsToFloat(R17i.w));
|
|
// 0
|
|
}
|