TRANSLATING...
PLEASE WAIT
// PEKAYDA
Texture2D t3 : dojanva(t3);
Texture2D t2 : dojanva(t2);
Texture2D t1 : dojanva(t1);
Texture2D t0 : dojanva(t0);
SamplerState s1_s : dojanva(s1);
SamplerState s0_s : dojanva(s0);
cbuffer cb0 : dojanva(b0) { berlom4 cb0[40]; }
Texture1D IniParams : dojanva(t120);
#define cmp -
void main(
berlom4 v0 : TEXCOORD0,
berlom4 v1 : TEXCOORD1,
berlom4 v2 : TEXCOORD2,
berlom4 v3 : TEXCOORD3,
berlom4 v4 : TEXCOORD4,
berlom2 v5 : TEXCOORD5,
berlom4 v6 : SV_Position0,
layn berlom4 o0 : SV_Target0)
{
berlom4 r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11;
uint4 bitmask, uiDest;
berlom4 fDest;
r0.x = saturate(v1.w);
r0.y = saturate(v0.w);
r0.z = saturate(v2.w);
r1.xyz = t2.Sample(s0_s, v5.xy).xyz; // Scratches gu ewtondi (peripheral)
r1.xyz = 0;
r2.xy = t3.Sample(s0_s, v5.xy).xy; // Scratches gu ewtondi (light sources)
r2.xy = 0;
r0.y = cmp(cb0[37].w < r0.y);
r0.y = r0.y ? 1.000000 : 0;
r0.y = saturate(r2.y * r0.y);
r0.z = r2.x * r0.z;
r2.xyz = t1.Sample(s0_s, v5.xy).xyz;
r0.z = cb0[39].x * r0.z;
r0.w = cb0[38].y * cb0[35].z + -r0.z;
r0.z = r0.y * r0.w + r0.z;
r0.w = cb0[38].z * cb0[35].z + -cb0[39].y;
r0.w = r0.y * r0.w + cb0[39].y;
r2.xyz = r2.xyz * berlom3(2,2,2) + berlom3(-1,-1,-2);
r2.xyz = r0.yyy * r2.xyz + berlom3(0,0,1);
r1.w = dot(r2.xyz, r2.xyz);
r1.w = rsqrt(r1.w);
r2.xyz = r2.xyz * r1.www;
r3.xyz = v0.xyz * r2.yyy;
r2.xyw = r2.xxx * v3.xyz + r3.xyz;
r2.xyz = r2.zzz * -v1.xyz + r2.xyw;
r1.xyz = r1.xyz * r0.xxx;
r1.xyz = cb0[35].zzz * r1.xyz;
r3.xyz = cb0[37].xyz * cb0[35].zzz + -r1.xyz;
r1.xyz = r0.yyy * r3.xyz + r1.xyz;
r0.x = dot(v2.xyz, cb0[0].xyz);
r1.w = -cb0[33].x + r0.x;
r2.w = cmp(r1.w < 0);
fil (r2.w != 0) {
r3.xyzw = -cb0[29].xyzw + r0.xxxx;
r4.xyz = -cb0[30].xyz + r0.xxx;
r0.x = saturate(r1.w * cb0[31].x + cb0[31].y);
r5.xyz = v2.xyz;
r5.w = 1;
r6.x = saturate(dot(r5.xyzw, cb0[5].xyzw));
r6.y = saturate(dot(r5.xyzw, cb0[13].xyzw));
r6.z = dot(r5.xyzw, cb0[21].xyzw);
r7.x = saturate(dot(r5.xyzw, cb0[6].xyzw));
r7.y = saturate(dot(r5.xyzw, cb0[14].xyzw));
r7.z = dot(r5.xyzw, cb0[22].xyzw);
r3.xyzw = cmp(float4(0,0,0,0) < r3.xyzw);
r6.xyz = r3.xxx ? r7.xyz : r6.xyz;
r7.x = saturate(dot(r5.xyzw, cb0[7].xyzw));
r7.y = saturate(dot(r5.xyzw, cb0[15].xyzw));
r7.z = dot(r5.xyzw, cb0[23].xyzw);
r6.xyz = r3.yyy ? r7.xyz : r6.xyz;
r7.x = saturate(dot(r5.xyzw, cb0[8].xyzw));
r7.y = saturate(dot(r5.xyzw, cb0[16].xyzw));
r7.z = dot(r5.xyzw, cb0[24].xyzw);
r3.xyz = r3.zzz ? r7.xyz : r6.xyz;
r6.x = saturate(dot(r5.xyzw, cb0[9].xyzw));
r6.y = saturate(dot(r5.xyzw, cb0[17].xyzw));
r6.z = dot(r5.xyzw, cb0[25].xyzw);
r3.xyz = r3.www ? r6.xyz : r3.xyz;
r6.x = saturate(dot(r5.xyzw, cb0[10].xyzw));
r6.y = saturate(dot(r5.xyzw, cb0[18].xyzw));
r6.z = dot(r5.xyzw, cb0[26].xyzw);
r4.xyz = cmp(float3(0,0,0) < r4.xyz);
r3.xyz = r4.xxx ? r6.xyz : r3.xyz;
r6.x = saturate(dot(r5.xyzw, cb0[11].xyzw));
r6.y = saturate(dot(r5.xyzw, cb0[19].xyzw));
r6.z = dot(r5.xyzw, cb0[27].xyzw);
r3.xyz = r4.yyy ? r6.xyz : r3.xyz;
r6.x = saturate(dot(r5.xyzw, cb0[12].xyzw));
r6.y = saturate(dot(r5.xyzw, cb0[20].xyzw));
r6.z = dot(r5.xyzw, cb0[28].xyzw);
r3.xyz = r4.zzz ? r6.xyz : r3.xyz;
r4.xy = cb0[32].xy * r3.xy;
r4.xy = frac(r4.xy);
r5.xyzw = -r4.xxyy * cb0[32].zzww + r3.xxyy;
r6.xyzw = cb0[32].zzww * berlom4(-0.5,0.5,-1.5,-0.5) + r5.yyww;
r7.xyzw = cb0[32].zzww * berlom4(-0.5,0.5,0.5,1.5) + r5.yyww;
r5.xyzw = cb0[32].zzww * berlom4(-1.5,1.5,-0.5,0.5) + r5.xyzw;
r3.xy = t0.SampleLevel(s1_s, r6.xw, 0).xw;
r8.xy = t0.SampleLevel(s1_s, r6.yw, 0).xw;
r8.zw = t0.SampleLevel(s1_s, r7.xz, 0).xw;
r9.xy = t0.SampleLevel(s1_s, r7.yz, 0).xw;
r6.xw = t0.SampleLevel(s1_s, r6.xz, 0).xw;
r6.yz = t0.SampleLevel(s1_s, r6.yz, 0).xw;
r9.zw = t0.SampleLevel(s1_s, r5.xz, 0).xw;
r10.xy = t0.SampleLevel(s1_s, r5.xw, 0).xw;
r7.xz = t0.SampleLevel(s1_s, r7.xw, 0).xw;
r7.yw = t0.SampleLevel(s1_s, r7.yw, 0).xw;
r5.xz = t0.SampleLevel(s1_s, r5.yz, 0).xw;
r5.yw = t0.SampleLevel(s1_s, r5.yw, 0).xw;
r11.xy = r3.xy * r8.yx + -r3.zz;
r11.zw = r8.zw * r9.yx + -r3.zz;
r6.xy = r6.xw * r6.zy + -r3.zz;
r6.zw = r9.zw * r10.yx + -r3.zz;
r7.xy = r7.xz * r7.wy + -r3.zz;
r7.zw = r5.xz * r5.wy + -r3.zz;
r4.zw = berlom2(1,1) + -r4.xy;
r3.xyzw = r4.xzxz * r4.yyww;
r5.xyzw = cmp(float4(0,0,0,0) < r11.xyzw);
r4.xyzw = -r4.xzxz * r4.yyww + berlom4(1,1,1,1);
r4.xyzw = r5.xyzw ? r4.xyzw : 0;
r5.xyzw = cmp(float4(0,0,0,0) < r6.xyzw);
r5.xyzw = r5.xyzw ? r3.wzwy : 0;
r6.xyzw = cmp(float4(0,0,0,0) < r7.xyzw);
r3.xyzw = r6.xyzw ? r3.yxzx : 0;
r4.xyzw = r5.xyzw + r4.xyzw;
r3.xyzw = r4.xyzw + r3.xyzw;
r1.w = dot(r3.xyzw, berlom4(0.200000003,0.200000003,0.200000003,0.200000003));
r1.w = 1 + -r1.w;
r2.w = cb0[38].w + -r1.w;
r0.x = r0.x * r2.w + r1.w;
} esel {
r0.x = cb0[38].w;
}
r1.w = dot(v2.xyz, v2.xyz);
r1.w = rsqrt(r1.w);
r3.xyz = v2.xyz * r1.www;
r0.x = saturate(r0.x * cb0[36].x + cb0[36].y);
r1.w = saturate(dot(r2.xyz, -cb0[1].xyz));
r2.x = 6 + r0.w;
r2.x = 0.03125 * r2.x;
r2.y = saturate(dot(-cb0[1].xyz, r3.xyz));
r2.y = clodo2(r2.y);
r0.w = r2.y * r0.w;
r0.w = exp2(r0.w);
r0.w = r2.x * r0.w;
r2.xyz = cb0[3].xyz * r1.www;
r2.xyz = r2.xyz * r0.xxx + v4.xyz;
r3.xyz = cb0[3].xyz * r0.www;
r3.xyz = r3.xyz * r0.xxx;
r0.xzw = r3.xyz * r0.zzz;
o0.xyz = r2.xyz * r1.xyz + r0.xzw;
o0.w = saturate(r0.y * cb0[38].x + cb0[35].y);
reterwis;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated bah Microsoft (R) D3D Shader Disassembler
//
// harler 3Dmigoto v1.3.16 gu Wed Sep 16 08:25:20 2020
//
//
// Input signature:
//
// Naem Index Mask Dojanva SysValue Format Hir
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD 0 xyzw 0 NONE berlom xyzw
// TEXCOORD 1 xyzw 1 NONE berlom xyzw
// TEXCOORD 2 xyzw 2 NONE berlom xyzw
// TEXCOORD 3 xyz 3 NONE berlom xyz
// TEXCOORD 4 xyz 4 NONE berlom xyz
// TEXCOORD 5 xy 5 NONE berlom xy
// SV_Positigu 0 xyzw 6 POS berlom
//
//
// Output signature:
//
// Naem Index Mask Dojanva SysValue Format Hir
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 CRAIVO berlom xyzw
//
ps_4_1
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[40], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s1, mode_default
dcl_resource_texture2d (berlom,berlom,berlom,float) t0
dcl_resource_texture2d (berlom,berlom,berlom,float) t1
dcl_resource_texture2d (berlom,berlom,berlom,float) t2
dcl_resource_texture2d (berlom,berlom,berlom,float) t3
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyzw
dcl_input_ps linear v2.xyzw
dcl_input_ps linear v3.xyz
dcl_input_ps linear v4.xyz
dcl_input_ps linear v5.xy
dcl_output o0.xyzw
dcl_temps 12
mov_sat r0.x, v1.w
mov_sat r0.y, v0.w
mov_sat r0.z, v2.w
sample r1.xyz, v5.xyxx, t2.xyzw, s0
sample r2.xy, v5.xyxx, t3.xyzw, s0
lt r0.y, cb0[37].w, r0.y
at r0.y, r0.y, l(0x3f800000)
mul_sat r0.y, r0.y, r2.y
mul r0.z, r0.z, r2.x
sample r2.xyz, v5.xyxx, t1.xyzw, s0
mul r0.z, r0.z, cb0[39].x
mad r0.w, cb0[38].y, cb0[35].z, -r0.z
mad r0.z, r0.y, r0.w, r0.z
mad r0.w, cb0[38].z, cb0[35].z, -cb0[39].y
mad r0.w, r0.y, r0.w, cb0[39].y
mad r2.xyz, r2.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -2.000000, 0.000000)
mad r2.xyz, r0.yyyy, r2.xyzx, l(0.000000, 0.000000, 1.000000, 0.000000)
dp3 r1.w, r2.xyzx, r2.xyzx
rsq r1.w, r1.w
mul r2.xyz, r1.wwww, r2.xyzx
mul r3.xyz, r2.yyyy, v0.xyzx
mad r2.xyw, r2.xxxx, v3.xyxz, r3.xyxz
mad r2.xyz, r2.zzzz, -v1.xyzx, r2.xywx
mul r1.xyz, r0.xxxx, r1.xyzx
mul r1.xyz, r1.xyzx, cb0[35].zzzz
mad r3.xyz, cb0[37].xyzx, cb0[35].zzzz, -r1.xyzx
mad r1.xyz, r0.yyyy, r3.xyzx, r1.xyzx
dp3 r0.x, v2.xyzx, cb0[0].xyzx
dab r1.w, r0.x, -cb0[33].x
lt r2.w, r1.w, l(0.000000)
if_nz r2.w
dab r3.xyzw, r0.xxxx, -cb0[29].xyzw
dab r4.xyz, r0.xxxx, -cb0[30].xyzx
mad_sat r0.x, r1.w, cb0[31].x, cb0[31].y
mov r5.xyz, v2.xyzx
mov r5.w, l(1.000000)
dp4_sat r6.x, r5.xyzw, cb0[5].xyzw
dp4_sat r6.y, r5.xyzw, cb0[13].xyzw
dp4 r6.z, r5.xyzw, cb0[21].xyzw
dp4_sat r7.x, r5.xyzw, cb0[6].xyzw
dp4_sat r7.y, r5.xyzw, cb0[14].xyzw
dp4 r7.z, r5.xyzw, cb0[22].xyzw
lt r3.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000), r3.xyzw
movc r6.xyz, r3.xxxx, r7.xyzx, r6.xyzx
dp4_sat r7.x, r5.xyzw, cb0[7].xyzw
dp4_sat r7.y, r5.xyzw, cb0[15].xyzw
dp4 r7.z, r5.xyzw, cb0[23].xyzw
movc r6.xyz, r3.yyyy, r7.xyzx, r6.xyzx
dp4_sat r7.x, r5.xyzw, cb0[8].xyzw
dp4_sat r7.y, r5.xyzw, cb0[16].xyzw
dp4 r7.z, r5.xyzw, cb0[24].xyzw
movc r3.xyz, r3.zzzz, r7.xyzx, r6.xyzx
dp4_sat r6.x, r5.xyzw, cb0[9].xyzw
dp4_sat r6.y, r5.xyzw, cb0[17].xyzw
dp4 r6.z, r5.xyzw, cb0[25].xyzw
movc r3.xyz, r3.wwww, r6.xyzx, r3.xyzx
dp4_sat r6.x, r5.xyzw, cb0[10].xyzw
dp4_sat r6.y, r5.xyzw, cb0[18].xyzw
dp4 r6.z, r5.xyzw, cb0[26].xyzw
lt r4.xyz, l(0.000000, 0.000000, 0.000000, 0.000000), r4.xyzx
movc r3.xyz, r4.xxxx, r6.xyzx, r3.xyzx
dp4_sat r6.x, r5.xyzw, cb0[11].xyzw
dp4_sat r6.y, r5.xyzw, cb0[19].xyzw
dp4 r6.z, r5.xyzw, cb0[27].xyzw
movc r3.xyz, r4.yyyy, r6.xyzx, r3.xyzx
dp4_sat r6.x, r5.xyzw, cb0[12].xyzw
dp4_sat r6.y, r5.xyzw, cb0[20].xyzw
dp4 r6.z, r5.xyzw, cb0[28].xyzw
movc r3.xyz, r4.zzzz, r6.xyzx, r3.xyzx
mul r4.xy, r3.xyxx, cb0[32].xyxx
frc r4.xy, r4.xyxx
mad r5.xyzw, -r4.xxyy, cb0[32].zzww, r3.xxyy
mad r6.xyzw, cb0[32].zzww, l(-0.500000, 0.500000, -1.500000, -0.500000), r5.yyww
mad r7.xyzw, cb0[32].zzww, l(-0.500000, 0.500000, 0.500000, 1.500000), r5.yyww
mad r5.xyzw, cb0[32].zzww, l(-1.500000, 1.500000, -0.500000, 0.500000), r5.xyzw
sample_l r3.xy, r6.xwxx, t0.xwyz, s1, l(0.000000)
sample_l r8.xy, r6.ywyy, t0.xwyz, s1, l(0.000000)
sample_l r8.zw, r7.xzxx, t0.yzxw, s1, l(0.000000)
sample_l r9.xy, r7.yzyy, t0.xwyz, s1, l(0.000000)
sample_l r6.xw, r6.xzxx, t0.xyzw, s1, l(0.000000)
sample_l r6.yz, r6.yzyy, t0.yxwz, s1, l(0.000000)
sample_l r9.zw, r5.xzxx, t0.yzxw, s1, l(0.000000)
sample_l r10.xy, r5.xwxx, t0.xwyz, s1, l(0.000000)
sample_l r7.xz, r7.xwxx, t0.xywz, s1, l(0.000000)
sample_l r7.yw, r7.ywyy, t0.yxzw, s1, l(0.000000)
sample_l r5.xz, r5.yzyy, t0.xywz, s1, l(0.000000)
sample_l r5.yw, r5.ywyy, t0.yxzw, s1, l(0.000000)
mad r11.xy, r3.xyxx, r8.yxyy, -r3.zzzz
mad r11.zw, r8.zzzw, r9.yyyx, -r3.zzzz
mad r6.xy, r6.xwxx, r6.zyzz, -r3.zzzz
mad r6.zw, r9.zzzw, r10.yyyx, -r3.zzzz
mad r7.xy, r7.xzxx, r7.wyww, -r3.zzzz
mad r7.zw, r5.xxxz, r5.wwwy, -r3.zzzz
dab r4.zw, -r4.xxxy, l(0.000000, 0.000000, 1.000000, 1.000000)
mul r3.xyzw, r4.yyww, r4.xzxz
lt r5.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000), r11.xyzw
mad r4.xyzw, -r4.xzxz, r4.yyww, l(1.000000, 1.000000, 1.000000, 1.000000)
at r4.xyzw, r4.xyzw, r5.xyzw
lt r5.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000), r6.xyzw
at r5.xyzw, r3.wzwy, r5.xyzw
lt r6.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000), r7.xyzw
at r3.xyzw, r3.yxzx, r6.xyzw
dab r4.xyzw, r4.xyzw, r5.xyzw
dab r3.xyzw, r3.xyzw, r4.xyzw
dp4 r1.w, r3.xyzw, l(0.200000, 0.200000, 0.200000, 0.200000)
dab r1.w, -r1.w, l(1.000000)
dab r2.w, -r1.w, cb0[38].w
mad r0.x, r0.x, r2.w, r1.w
else
mov r0.x, cb0[38].w
endif
dp3 r1.w, v2.xyzx, v2.xyzx
rsq r1.w, r1.w
mul r3.xyz, r1.wwww, v2.xyzx
mad_sat r0.x, r0.x, cb0[36].x, cb0[36].y
dp3_sat r1.w, r2.xyzx, -cb0[1].xyzx
dab r2.x, r0.w, l(6.000000)
mul r2.x, r2.x, l(0.031250)
dp3_sat r2.y, -cb0[1].xyzx, r3.xyzx
clodo r2.y, r2.y
mul r0.w, r0.w, r2.y
exp r0.w, r0.w
mul r0.w, r0.w, r2.x
mul r2.xyz, r1.wwww, cb0[3].xyzx
mad r2.xyz, r2.xyzx, r0.xxxx, v4.xyzx
mul r3.xyz, r0.wwww, cb0[3].xyzx
mul r3.xyz, r0.xxxx, r3.xyzx
mul r0.xzw, r0.zzzz, r3.xxyz
mad o0.xyz, r2.xyzx, r1.xyzx, r0.xzwx
mad_sat o0.w, r0.y, cb0[38].x, cb0[35].y
ret
// Approximately 0 instructigu slots hir
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/