aboutsummaryrefslogtreecommitdiff
path: root/decompile/dwmcore_1009_10.hlsl
blob: 0b67ee594ad20e0f775c1adb15836088afc25174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// ---- Created with 3Dmigoto v1.3.16 on Wed Feb 09 18:55:28 2022

cbuffer cbVSUpdateEveryCall : register(b0)
{

  struct
  {

    struct
    {
      float4x4 mat4x4WorldToProjection;
    } Transform_World2D_By_Matrix4x4_VS0_ConstantTable;

  } Data_VS : packoffset(c0);

}



// 3Dmigoto declarations
#define cmp -


void main(
  float3 v0 : POSITION0,
  float4 v1 : TEXCOORD0,
  float4 v2 : TEXCOORD1,
  float2 v3 : TEXCOORD2,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : TEXCOORD0,
  out float4 o2 : TEXCOORD1,
  out float4 o3 : TEXCOORD2)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xyz = v0.xyz;
  r0.w = 1;
  o0.x = dot(r0.xyzw, Data_VS.Transform_World2D_By_Matrix4x4_VS0_ConstantTable.mat4x4WorldToProjection._m00_m10_m20_m30);
  o0.y = dot(r0.xyzw, Data_VS.Transform_World2D_By_Matrix4x4_VS0_ConstantTable.mat4x4WorldToProjection._m01_m11_m21_m31);
  o0.z = dot(r0.xyzw, Data_VS.Transform_World2D_By_Matrix4x4_VS0_ConstantTable.mat4x4WorldToProjection._m02_m12_m22_m32);
  o0.w = dot(r0.xyzw, Data_VS.Transform_World2D_By_Matrix4x4_VS0_ConstantTable.mat4x4WorldToProjection._m03_m13_m23_m33);
  o1.xyzw = float4(1,1,1,1);
  o2.xyzw = v1.xyzw;
  o3.xyzw = v1.xyzw;
  return;
}