aboutsummaryrefslogtreecommitdiff
path: root/decompile/dwmcore_2106_10.hlsl
blob: 7c91799cf3e3c205d4f2a5cd2f7dd0b7f1eae364 (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
// ---- Created with 3Dmigoto v1.3.16 on Wed Feb 09 18:55:28 2022

SamplerState SuperSampleTextureFromInterpolatorUV1_Sampler_s : register(s0);
SamplerState SampleTextureFromInterpolatorUV2_Sampler_s : register(s1);
Texture2D<float4> SuperSampleTextureFromInterpolatorUV1_Sampler : register(t0);
Texture2D<float4> SampleTextureFromInterpolatorUV2_Sampler : register(t1);


// 3Dmigoto declarations
#define cmp -


void main(
  float4 v0 : SV_POSITION0,
  float4 v1 : TEXCOORD0,
  float4 v2 : TEXCOORD1,
  float4 v3 : TEXCOORD2,
  float4 v4 : TEXCOORD3,
  float4 v5 : TEXCOORD4,
  out float4 o0 : SV_Target0)
{
  float4 r0,r1;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xyzw = SuperSampleTextureFromInterpolatorUV1_Sampler.Sample(SuperSampleTextureFromInterpolatorUV1_Sampler_s, v2.xy).xyzw;
  r1.xyzw = SuperSampleTextureFromInterpolatorUV1_Sampler.Sample(SuperSampleTextureFromInterpolatorUV1_Sampler_s, v2.zw).xyzw;
  r0.xyz = r1.xyz + r0.xyz;
  r1.xyzw = SuperSampleTextureFromInterpolatorUV1_Sampler.Sample(SuperSampleTextureFromInterpolatorUV1_Sampler_s, v3.xy).xyzw;
  r0.xyz = r1.xyz + r0.xyz;
  r1.xyzw = SuperSampleTextureFromInterpolatorUV1_Sampler.Sample(SuperSampleTextureFromInterpolatorUV1_Sampler_s, v3.zw).xyzw;
  r0.xyz = r1.xyz + r0.xyz;
  r0.xyz = float3(0.25,0.25,0.25) * r0.xyz;
  r1.xyzw = SampleTextureFromInterpolatorUV2_Sampler.Sample(SampleTextureFromInterpolatorUV2_Sampler_s, v4.xy).xyzw;
  r0.w = 1;
  r0.xyzw = r1.wwww * r0.xyzw;
  o0.xyzw = v5.xyzw * r0.xyzw;
  return;
}