Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ---- Created with 3Dmigoto v1.3.16 on Sat Nov 20 00:15:05 2021
- cbuffer _Globals : register(b0)
- {
- float4 ktglViewport : packoffset(c0);
- float4 ktglColorScale : packoffset(c1);
- }
- // 3Dmigoto declarations
- #define cmp -
- Texture1D<float4> IniParams : register(t120);
- Texture2D<float4> StereoParams : register(t125);
- void main(
- float3 v0 : POSITION0,
- float4 v1 : COLOR0,
- float2 v2 : TEXCOORD0,
- out float4 o0 : SV_Position0,
- out float4 o1 : COLOR0,
- out float2 o2 : TEXCOORD0)
- {
- o0.xy = v0.xy * ktglViewport.xy + ktglViewport.zw;
- o0.z = v0.z;
- o0.w = 1;
- o1.xyzw = ktglColorScale.xyzw * v1.xyzw;
- o2.xy = v2.xy;
- o0.x *=0.5;
- return;
- }
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //
- // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
- //
- // using 3Dmigoto v1.3.16 on Sat Nov 20 00:15:05 2021
- //
- //
- // Buffer Definitions:
- //
- // cbuffer $Globals
- // {
- //
- // float4 ktglViewport; // Offset: 0 Size: 16
- // float4 ktglColorScale; // Offset: 16 Size: 16
- //
- // }
- //
- //
- // 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 xyz 0 NONE float xyz
- // COLOR 0 xyzw 1 NONE float xyzw
- // TEXCOORD 0 xy 2 NONE float xy
- //
- //
- // Output signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // SV_Position 0 xyzw 0 POS float xyzw
- // COLOR 0 xyzw 1 NONE float xyzw
- // TEXCOORD 0 xy 2 NONE float xy
- //
- vs_4_0
- dcl_constantbuffer cb0[2], immediateIndexed
- dcl_input v0.xyz
- dcl_input v1.xyzw
- dcl_input v2.xy
- dcl_output_siv o0.xyzw, position
- dcl_output o1.xyzw
- dcl_output o2.xy
- mad o0.xy, v0.xyxx, cb0[0].xyxx, cb0[0].zwzz
- mov o0.z, v0.z
- mov o0.w, l(1.000000)
- mul o1.xyzw, v1.xyzw, cb0[1].xyzw
- mov o2.xy, v2.xyxx
- ret
- // Approximately 6 instruction slots used
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
Add Comment
Please, Sign In to add comment