Guest User

4649613ec096ea3c-vs_replace.txt

a guest
Nov 26th, 2021
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. // ---- Created with 3Dmigoto v1.3.16 on Sat Nov 06 23:29:53 2021
  2.  
  3. cbuffer _Globals : register(b0)
  4. {
  5. row_major float4x4 mL2P : packoffset(c0);
  6. }
  7.  
  8.  
  9.  
  10. // 3Dmigoto declarations
  11. #define cmp -
  12. Texture1D<float4> IniParams : register(t120);
  13. Texture2D<float4> StereoParams : register(t125);
  14.  
  15.  
  16. void main(
  17. float4 v0 : POSITION0,
  18. float4 v1 : COLOR0,
  19. float2 v2 : TEXCOORD0,
  20. out float4 o0 : TEXCOORD0,
  21. out float4 o1 : SV_Position0,
  22. out float2 o2 : TEXCOORD1)
  23. {
  24. float4 r0;
  25. uint4 bitmask, uiDest;
  26. float4 fDest;
  27.  
  28. o0.xyzw = v1.xyzw;
  29. r0.xyzw = mL2P._m10_m11_m12_m13 * v0.yyyy;
  30. r0.xyzw = v0.xxxx * mL2P._m00_m01_m02_m03 + r0.xyzw;
  31. r0.xyzw = v0.zzzz * mL2P._m20_m21_m22_m23 + r0.xyzw;
  32. o1.xyzw = v0.wwww * mL2P._m30_m31_m32_m33 + r0.xyzw;
  33. o2.xy = v2.xy;
  34. o1.x *= 0.5;
  35. return;
  36. }
  37.  
  38. /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  39. //
  40. // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  41. //
  42. // using 3Dmigoto v1.3.16 on Sat Nov 06 23:29:53 2021
  43. //
  44. //
  45. // Buffer Definitions:
  46. //
  47. // cbuffer $Globals
  48. // {
  49. //
  50. // row_major float4x4 mL2P; // Offset: 0 Size: 64
  51. //
  52. // }
  53. //
  54. //
  55. // Resource Bindings:
  56. //
  57. // Name Type Format Dim Slot Elements
  58. // ------------------------------ ---------- ------- ----------- ---- --------
  59. // $Globals cbuffer NA NA 0 1
  60. //
  61. //
  62. //
  63. // Input signature:
  64. //
  65. // Name Index Mask Register SysValue Format Used
  66. // -------------------- ----- ------ -------- -------- ------- ------
  67. // POSITION 0 xyzw 0 NONE float xyzw
  68. // COLOR 0 xyzw 1 NONE float xyzw
  69. // TEXCOORD 0 xy 2 NONE float xy
  70. //
  71. //
  72. // Output signature:
  73. //
  74. // Name Index Mask Register SysValue Format Used
  75. // -------------------- ----- ------ -------- -------- ------- ------
  76. // TEXCOORD 0 xyzw 0 NONE float xyzw
  77. // SV_Position 0 xyzw 1 POS float xyzw
  78. // TEXCOORD 1 xy 2 NONE float xy
  79. //
  80. vs_5_0
  81. dcl_globalFlags refactoringAllowed
  82. dcl_constantbuffer cb0[4], immediateIndexed
  83. dcl_input v0.xyzw
  84. dcl_input v1.xyzw
  85. dcl_input v2.xy
  86. dcl_output o0.xyzw
  87. dcl_output_siv o1.xyzw, position
  88. dcl_output o2.xy
  89. dcl_temps 1
  90. mov o0.xyzw, v1.xyzw
  91. mul r0.xyzw, v0.yyyy, cb0[1].xyzw
  92. mad r0.xyzw, v0.xxxx, cb0[0].xyzw, r0.xyzw
  93. mad r0.xyzw, v0.zzzz, cb0[2].xyzw, r0.xyzw
  94. mad o1.xyzw, v0.wwww, cb0[3].xyzw, r0.xyzw
  95. mov o2.xy, v2.xyxx
  96. ret
  97. // Approximately 7 instruction slots used
  98.  
  99. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
  100.  
Add Comment
Please, Sign In to add comment