diff options
Diffstat (limited to 'decompile/dwmcore_2051_10.hlsl')
-rw-r--r-- | decompile/dwmcore_2051_10.hlsl | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/decompile/dwmcore_2051_10.hlsl b/decompile/dwmcore_2051_10.hlsl new file mode 100644 index 0000000..7c28348 --- /dev/null +++ b/decompile/dwmcore_2051_10.hlsl @@ -0,0 +1,46 @@ +// ---- Created with 3Dmigoto v1.3.16 on Wed Feb 09 18:55:28 2022 + +cbuffer cbPSUpdateEveryCall : register(b0) +{ + + struct + { + + struct + { + float4 color; + } SetColorValue_PS1_ConstantTable; + + + struct + { + float4x4 mat4x4; + float4 matRow4; + } TransformColor_PS2_ConstantTable; + + } Data_PS : packoffset(c0); + +} + + + +// 3Dmigoto declarations +#define cmp - + + +void main( + float4 v0 : SV_POSITION0, + float4 v1 : TEXCOORD0, + out float4 o0 : SV_Target0) +{ + float4 r0; + uint4 bitmask, uiDest; + float4 fDest; + + r0.x = dot(Data_PS.SetColorValue_PS1_ConstantTable.color.xyzw, Data_PS.TransformColor_PS2_ConstantTable.mat4x4._m00_m10_m20_m30); + r0.y = dot(Data_PS.SetColorValue_PS1_ConstantTable.color.xyzw, Data_PS.TransformColor_PS2_ConstantTable.mat4x4._m01_m11_m21_m31); + r0.z = dot(Data_PS.SetColorValue_PS1_ConstantTable.color.xyzw, Data_PS.TransformColor_PS2_ConstantTable.mat4x4._m02_m12_m22_m32); + r0.w = dot(Data_PS.SetColorValue_PS1_ConstantTable.color.xyzw, Data_PS.TransformColor_PS2_ConstantTable.mat4x4._m03_m13_m23_m33); + o0.xyzw = Data_PS.TransformColor_PS2_ConstantTable.matRow4.xyzw + r0.xyzw; + return; +}
\ No newline at end of file |