Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ---- Created with 3Dmigoto v1.3.16 on Mon Nov 15 19:12:35 2021
- cbuffer _Params : register(b0)
- {
- float4x4 ModelViewProj : packoffset(c0);
- }
- // 3Dmigoto declarations
- #define cmp -
- Texture1D<float4> IniParams : register(t120);
- Texture2D<float4> StereoParams : register(t125);
- void main(
- float4 v0 : POSITION0,
- float2 v1 : TEXCOORD0,
- float4 v2 : COLOR0,
- out float4 o0 : SV_Position0,
- out float2 o1 : TEXCOORD0,
- out float4 o2 : COLOR0)
- {
- o0.x = dot(v0.xyzw, ModelViewProj._m00_m10_m20_m30);
- o0.y = dot(v0.xyzw, ModelViewProj._m01_m11_m21_m31);
- o0.z = dot(v0.xyzw, ModelViewProj._m02_m12_m22_m32);
- o0.w = dot(v0.xyzw, ModelViewProj._m03_m13_m23_m33);
- o1.xy = v1.xy;
- o2.xyzw = v2.xyzw;
- o0.x *= 0.5;
- return;
- }
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //
- // Generated by Microsoft (R) HLSL Shader Compiler 10.1
- //
- // using 3Dmigoto v1.3.16 on Mon Nov 15 19:12:35 2021
- //
- //
- // Buffer Definitions:
- //
- // cbuffer $Params
- // {
- //
- // float4x4 ModelViewProj; // Offset: 0 Size: 64
- //
- // }
- //
- //
- // Resource Bindings:
- //
- // Name Type Format Dim Slot Elements
- // ------------------------------ ---------- ------- ----------- ---- --------
- // $Params 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
- // COLOR 0 xyzw 2 NONE float xyzw
- //
- //
- // Output signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // SV_Position 0 xyzw 0 POS float xyzw
- // TEXCOORD 0 xy 1 NONE float xy
- // COLOR 0 xyzw 2 NONE float xyzw
- //
- vs_5_0
- dcl_globalFlags refactoringAllowed
- dcl_constantbuffer cb0[4], immediateIndexed
- dcl_input v0.xyzw
- dcl_input v1.xy
- dcl_input v2.xyzw
- dcl_output_siv o0.xyzw, position
- dcl_output o1.xy
- dcl_output o2.xyzw
- dp4 o0.x, v0.xyzw, cb0[0].xyzw
- dp4 o0.y, v0.xyzw, cb0[1].xyzw
- dp4 o0.z, v0.xyzw, cb0[2].xyzw
- dp4 o0.w, v0.xyzw, cb0[3].xyzw
- mov o1.xy, v1.xyxx
- mov o2.xyzw, v2.xyzw
- ret
- // Approximately 7 instruction slots used
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
Add Comment
Please, Sign In to add comment