Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ---- Created with 3Dmigoto v1.3.16 on Sat Nov 06 23:21:07 2021
- cbuffer _Globals : register(b0)
- {
- float4 g_vPosOffset : packoffset(c0) = {0,0,0,0};
- float4 g_vTexParam : packoffset(c1) = {1,1,0,0};
- }
- // 3Dmigoto declarations
- #define cmp -
- Texture1D<float4> IniParams : register(t120);
- Texture2D<float4> StereoParams : register(t125);
- void main(
- float4 v0 : POSITION0,
- float2 v1 : TEXCOORD0,
- out float4 o0 : SV_Position0,
- out float2 o1 : TEXCOORD0)
- {
- float4 r0;
- uint4 bitmask, uiDest;
- float4 fDest;
- r0.xy = g_vPosOffset.xy + v0.xy;
- r0.xy = r0.xy * float2(2,2) + float2(-1,-1);
- o0.xy = float2(1,-1) * r0.xy;
- o0.zw = v0.zw;
- o1.xy = v1.xy * g_vTexParam.xy + g_vTexParam.zw;
- float4 CYF5 = IniParams.Load(int2(21,0));
- if(CYF5.x > 0) {o0.x *= 0.5;}
- return;
- }
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //
- // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
- //
- // using 3Dmigoto v1.3.16 on Sat Nov 06 23:21:07 2021
- //
- //
- // Buffer Definitions:
- //
- // cbuffer $Globals
- // {
- //
- // float4 g_vPosOffset; // Offset: 0 Size: 16
- // = 0x00000000 0x00000000 0x00000000 0x00000000
- // float4 g_vTexParam; // Offset: 16 Size: 16
- // = 0x3f800000 0x3f800000 0x00000000 0x00000000
- //
- // }
- //
- //
- // Resource Bindings:
- //
- // Name Type Format Dim Slot Elements
- // ------------------------------ ---------- ------- ----------- ---- --------
- // $Globals cbuffer NA NA 0 1
- //
- //
- //
- // Input signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // POSITION 0 xyzw 0 NONE float xyzw
- // TEXCOORD 0 xy 1 NONE float xy
- //
- //
- // Output signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // SV_Position 0 xyzw 0 POS float xyzw
- // TEXCOORD 0 xy 1 NONE float xy
- //
- vs_5_0
- dcl_globalFlags refactoringAllowed
- dcl_constantbuffer cb0[2], immediateIndexed
- dcl_input v0.xyzw
- dcl_input v1.xy
- dcl_output_siv o0.xyzw, position
- dcl_output o1.xy
- dcl_temps 1
- add r0.xy, v0.xyxx, cb0[0].xyxx
- mad r0.xy, r0.xyxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
- mul o0.xy, r0.xyxx, l(1.000000, -1.000000, 0.000000, 0.000000)
- mov o0.zw, v0.zzzw
- mad o1.xy, v1.xyxx, cb0[1].xyxx, cb0[1].zwzz
- ret
- // Approximately 6 instruction slots used
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
Add Comment
Please, Sign In to add comment