mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 08:21:51 +01:00
Merge branch 'master' of https://github.com/slashiee/cemu_graphic_packs
This commit is contained in:
commit
405f3c1004
1417
Source/XenobladeX/007148d1db7f78e7_0000000000000000_vs.txt
Normal file
1417
Source/XenobladeX/007148d1db7f78e7_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1385
Source/XenobladeX/0b8b33c2f133a514_0000000000000000_vs.txt
Normal file
1385
Source/XenobladeX/0b8b33c2f133a514_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1366
Source/XenobladeX/0dbac1e3ebdc5c02_0000000000000000_vs.txt
Normal file
1366
Source/XenobladeX/0dbac1e3ebdc5c02_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
538
Source/XenobladeX/14f760ff4d6b05f5_0000000000000000_vs.txt
Normal file
538
Source/XenobladeX/14f760ff4d6b05f5_0000000000000000_vs.txt
Normal file
@ -0,0 +1,538 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
208
Source/XenobladeX/1f915b133a255dab_0000000000000000_vs.txt
Normal file
208
Source/XenobladeX/1f915b133a255dab_0000000000000000_vs.txt
Normal file
@ -0,0 +1,208 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
1288
Source/XenobladeX/20075cc6cf058a84_0000000000000000_vs.txt
Normal file
1288
Source/XenobladeX/20075cc6cf058a84_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1404
Source/XenobladeX/21eafb6c514a4b35_0000000000000000_vs.txt
Normal file
1404
Source/XenobladeX/21eafb6c514a4b35_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1300
Source/XenobladeX/2716141e287247da_0000000000000000_vs.txt
Normal file
1300
Source/XenobladeX/2716141e287247da_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1396
Source/XenobladeX/330acac562ddee2b_0000000000000000_vs.txt
Normal file
1396
Source/XenobladeX/330acac562ddee2b_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1302
Source/XenobladeX/3fae14064195391b_0000000000000000_vs.txt
Normal file
1302
Source/XenobladeX/3fae14064195391b_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
522
Source/XenobladeX/4c66e611ad14aabe_0000000000000000_vs.txt
Normal file
522
Source/XenobladeX/4c66e611ad14aabe_0000000000000000_vs.txt
Normal file
@ -0,0 +1,522 @@
|
|||||||
|
|
||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
1399
Source/XenobladeX/5a41baf724c1cff3_0000000000000000_vs.txt
Normal file
1399
Source/XenobladeX/5a41baf724c1cff3_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
520
Source/XenobladeX/6093720c5ca6289c_0000000000000000_vs.txt
Normal file
520
Source/XenobladeX/6093720c5ca6289c_0000000000000000_vs.txt
Normal file
@ -0,0 +1,520 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
||||||
|
}
|
278
Source/XenobladeX/610a9c4cb60b0bdf_0000000000000000_vs.txt
Normal file
278
Source/XenobladeX/610a9c4cb60b0bdf_0000000000000000_vs.txt
Normal file
@ -0,0 +1,278 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
463
Source/XenobladeX/622450648ddbf1b2_0000000000000000_vs.txt
Normal file
463
Source/XenobladeX/622450648ddbf1b2_0000000000000000_vs.txt
Normal file
@ -0,0 +1,463 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
465
Source/XenobladeX/738c509776f2c113_0000000000000000_vs.txt
Normal file
465
Source/XenobladeX/738c509776f2c113_0000000000000000_vs.txt
Normal file
@ -0,0 +1,465 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
1418
Source/XenobladeX/7d2d26ba00a66735_0000000000000000_vs.txt
Normal file
1418
Source/XenobladeX/7d2d26ba00a66735_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1413
Source/XenobladeX/7ec11ebc6ad99936_0000000000000000_vs.txt
Normal file
1413
Source/XenobladeX/7ec11ebc6ad99936_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
290
Source/XenobladeX/8236d4df96d36e25_0000000000000000_vs.txt
Normal file
290
Source/XenobladeX/8236d4df96d36e25_0000000000000000_vs.txt
Normal file
@ -0,0 +1,290 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
1400
Source/XenobladeX/90bdbafc1c764ae6_0000000000000000_vs.txt
Normal file
1400
Source/XenobladeX/90bdbafc1c764ae6_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
309
Source/XenobladeX/948500d0191d1ed8_0000000000000000_vs.txt
Normal file
309
Source/XenobladeX/948500d0191d1ed8_0000000000000000_vs.txt
Normal file
@ -0,0 +1,309 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
139
Source/XenobladeX/9bc5e526132c9534_0000000000000000_vs.txt
Normal file
139
Source/XenobladeX/9bc5e526132c9534_0000000000000000_vs.txt
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
1399
Source/XenobladeX/a225baec4db6d89e_0000000000000000_vs.txt
Normal file
1399
Source/XenobladeX/a225baec4db6d89e_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
277
Source/XenobladeX/ba529c2c3078fff0_0000000000000000_vs.txt
Normal file
277
Source/XenobladeX/ba529c2c3078fff0_0000000000000000_vs.txt
Normal file
@ -0,0 +1,277 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
|
||||||
|
|
||||||
|
// 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
|
||||||
|
}
|
1388
Source/XenobladeX/c01cc5b7af21f689_0000000000000000_vs.txt
Normal file
1388
Source/XenobladeX/c01cc5b7af21f689_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
545
Source/XenobladeX/ccc475eb7e537add_0000000000000000_vs.txt
Normal file
545
Source/XenobladeX/ccc475eb7e537add_0000000000000000_vs.txt
Normal file
@ -0,0 +1,545 @@
|
|||||||
|
|
||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
||||||
|
}
|
1405
Source/XenobladeX/ccc6fb8b53f5f651_0000000000000000_vs.txt
Normal file
1405
Source/XenobladeX/ccc6fb8b53f5f651_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
73
Source/XenobladeX/d0664898dbf28dfa_0000000000000000_vs.txt
Normal file
73
Source/XenobladeX/d0664898dbf28dfa_0000000000000000_vs.txt
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
1275
Source/XenobladeX/d321199dc854621f_0000000000000000_vs.txt
Normal file
1275
Source/XenobladeX/d321199dc854621f_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
291
Source/XenobladeX/d7074f19f5ca3b20_0000000000000000_vs.txt
Normal file
291
Source/XenobladeX/d7074f19f5ca3b20_0000000000000000_vs.txt
Normal file
@ -0,0 +1,291 @@
|
|||||||
|
|
||||||
|
#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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
1383
Source/XenobladeX/df832bc2e6d22e45_0000000000000000_vs.txt
Normal file
1383
Source/XenobladeX/df832bc2e6d22e45_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1267
Source/XenobladeX/dfacd3f8f448aeaa_0000000000000000_vs.txt
Normal file
1267
Source/XenobladeX/dfacd3f8f448aeaa_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1370
Source/XenobladeX/e082c1f638f8e81e_0000000000000000_vs.txt
Normal file
1370
Source/XenobladeX/e082c1f638f8e81e_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1383
Source/XenobladeX/e99ed318f647e1cf_0000000000000000_vs.txt
Normal file
1383
Source/XenobladeX/e99ed318f647e1cf_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1329
Source/XenobladeX/ec248df3384d3d18_0000000000000000_vs.txt
Normal file
1329
Source/XenobladeX/ec248df3384d3d18_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1396
Source/XenobladeX/eec2c2cee7a1d42f_0000000000000000_vs.txt
Normal file
1396
Source/XenobladeX/eec2c2cee7a1d42f_0000000000000000_vs.txt
Normal file
File diff suppressed because it is too large
Load Diff
110
Source/XenobladeX/fa7054d25fd49999_0000000000000000_vs.txt
Normal file
110
Source/XenobladeX/fa7054d25fd49999_0000000000000000_vs.txt
Normal file
@ -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 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 = (intBitsToFloat(1280)/intBitsToFloat(720));
|
||||||
|
float newRatio = (intBitsToFloat($width)/intBitsToFloat($height)) ;
|
||||||
|
// *(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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user