aboutsummaryrefslogtreecommitdiff
path: root/decompile/dwmcore_2130_10.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'decompile/dwmcore_2130_10.hlsl')
-rw-r--r--decompile/dwmcore_2130_10.hlsl32
1 files changed, 32 insertions, 0 deletions
diff --git a/decompile/dwmcore_2130_10.hlsl b/decompile/dwmcore_2130_10.hlsl
new file mode 100644
index 0000000..228b920
--- /dev/null
+++ b/decompile/dwmcore_2130_10.hlsl
@@ -0,0 +1,32 @@
+// ---- Created with 3Dmigoto v1.3.16 on Wed Feb 09 18:55:28 2022
+
+SamplerState SampleTextureFromInterpolatorUV1_Sampler_s : register(s0);
+Texture2D<float4> SampleTextureFromInterpolatorUV1_Sampler : register(t0);
+
+
+// 3Dmigoto declarations
+#define cmp -
+
+
+void main(
+ float4 v0 : SV_POSITION0,
+ float4 v1 : TEXCOORD0,
+ float2 v2 : TEXCOORD1,
+ out float4 o0 : SV_Target0)
+{
+ float4 r0,r1,r2;
+ uint4 bitmask, uiDest;
+ float4 fDest;
+
+ r0.xyzw = SampleTextureFromInterpolatorUV1_Sampler.Sample(SampleTextureFromInterpolatorUV1_Sampler_s, v2.xy).xyzw;
+ r1.xyz = float3(0.0549999997,0.0549999997,0.0549999997) + r0.xyz;
+ r1.xyz = float3(0.947867274,0.947867274,0.947867274) * r1.xyz;
+ r1.xyz = log2(r1.xyz);
+ r1.xyz = float3(2.4000001,2.4000001,2.4000001) * r1.xyz;
+ r1.xyz = exp2(r1.xyz);
+ r2.xyz = cmp(float3(0.0404499993,0.0404499993,0.0404499993) >= r0.xyz);
+ r0.xyz = float3(0.0773993805,0.0773993805,0.0773993805) * r0.xyz;
+ o0.xyz = r2.xyz ? r0.xyz : r1.xyz;
+ o0.w = 1;
+ return;
+} \ No newline at end of file