aboutsummaryrefslogtreecommitdiff
path: root/decompile/dwmcore_2004_10.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'decompile/dwmcore_2004_10.hlsl')
-rw-r--r--decompile/dwmcore_2004_10.hlsl34
1 files changed, 34 insertions, 0 deletions
diff --git a/decompile/dwmcore_2004_10.hlsl b/decompile/dwmcore_2004_10.hlsl
new file mode 100644
index 0000000..6eb1c9d
--- /dev/null
+++ b/decompile/dwmcore_2004_10.hlsl
@@ -0,0 +1,34 @@
+// ---- Created with 3Dmigoto v1.3.16 on Wed Feb 09 18:55:28 2022
+
+cbuffer cbPS : register(b0)
+{
+ float4 factors : packoffset(c0);
+}
+
+SamplerState Text_Texture_s : register(s0);
+Texture2D<float4> Text_Texture : 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;
+ uint4 bitmask, uiDest;
+ float4 fDest;
+
+ r0.xyzw = Text_Texture.Sample(Text_Texture_s, v2.xy).xyzw;
+ r0.y = -r0.x * factors.x + factors.y;
+ r0.x = factors.x * r0.x;
+ r0.z = factors.z * r0.x + factors.w;
+ r0.y = r0.z * r0.y;
+ r0.y = r0.y * r0.x;
+ o0.xyzw = r0.yyyy * float4(4,4,4,4) + r0.xxxx;
+ return;
+} \ No newline at end of file