Created
September 24, 2019 15:03
-
-
Save xenophonf/801665d6c3fbcc75460bcad805f9255e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Texture2D<float4> t0 : register(t0); | |
SamplerState s0_s : register(s0); | |
cbuffer cb0 : register(b0) | |
{ | |
float4 cb0[1]; | |
} | |
Texture2D<float4> StereoParams : register(t125); | |
Texture1D<float4> IniParams : register(t120); | |
void main( | |
float4 v0 : TEXCOORD0, | |
float3 v1 : TEXCOORD1, | |
float4 v2 : SV_Position0, | |
out float4 o0 : SV_Target0) | |
{ | |
float4 r0; | |
uint4 bitmask, uiDest; | |
float4 fDest; | |
r0.xyzw = t0.Sample(s0_s, v1.xy).xyzw; | |
r0.xyz = cb0[0].xxx * r0.xyz; | |
r0.xyz = v1.zzz * r0.xyz; | |
r0.xyz = cb0[0].www * r0.xyz; | |
o0.xyz = v0.xyz * r0.xyz; | |
o0.w = 32; | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment