d3d_pixelshader.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. #if 0
  2. //
  3. // Generated by Microsoft (R) HLSL Shader Compiler 10.1
  4. //
  5. //
  6. // Resource Bindings:
  7. //
  8. // Name Type Format Dim HLSL Bind Count
  9. // ------------------------------ ---------- ------- ----------- -------------- ------
  10. // samLinear sampler NA NA s0 1
  11. // tx texture float4 2d t0 1
  12. //
  13. //
  14. //
  15. // Input signature:
  16. //
  17. // Name Index Mask Register SysValue Format Used
  18. // -------------------- ----- ------ -------- -------- ------- ------
  19. // SV_POSITION 0 xyzw 0 POS float
  20. // TEXCOORD 0 xy 1 NONE float xy
  21. //
  22. //
  23. // Output signature:
  24. //
  25. // Name Index Mask Register SysValue Format Used
  26. // -------------------- ----- ------ -------- -------- ------- ------
  27. // SV_Target 0 xyzw 0 TARGET float xyzw
  28. //
  29. //
  30. // Sampler/Resource to DX9 shader sampler mappings:
  31. //
  32. // Target Sampler Source Sampler Source Resource
  33. // -------------- --------------- ----------------
  34. // s0 s0 t0
  35. //
  36. //
  37. // Level9 shader bytecode:
  38. //
  39. ps_2_x
  40. dcl t0.xy
  41. dcl_2d s0
  42. texld r0, t0, s0
  43. mov oC0, r0
  44. // approximately 2 instruction slots used (1 texture, 1 arithmetic)
  45. ps_4_0
  46. dcl_sampler s0, mode_default
  47. dcl_resource_texture2d (float,float,float,float) t0
  48. dcl_input_ps linear v1.xy
  49. dcl_output o0.xyzw
  50. sample o0.xyzw, v1.xyxx, t0.xyzw, s0
  51. ret
  52. // Approximately 2 instruction slots used
  53. #endif
  54. const BYTE g_PS[] =
  55. {
  56. 68, 88, 66, 67, 2, 67,
  57. 173, 250, 254, 69, 0, 177,
  58. 12, 180, 52, 221, 45, 84,
  59. 178, 127, 1, 0, 0, 0,
  60. 180, 2, 0, 0, 6, 0,
  61. 0, 0, 56, 0, 0, 0,
  62. 164, 0, 0, 0, 16, 1,
  63. 0, 0, 140, 1, 0, 0,
  64. 40, 2, 0, 0, 128, 2,
  65. 0, 0, 65, 111, 110, 57,
  66. 100, 0, 0, 0, 100, 0,
  67. 0, 0, 0, 2, 255, 255,
  68. 60, 0, 0, 0, 40, 0,
  69. 0, 0, 0, 0, 40, 0,
  70. 0, 0, 40, 0, 0, 0,
  71. 40, 0, 1, 0, 36, 0,
  72. 0, 0, 40, 0, 0, 0,
  73. 0, 0, 1, 2, 255, 255,
  74. 31, 0, 0, 2, 0, 0,
  75. 0, 128, 0, 0, 3, 176,
  76. 31, 0, 0, 2, 0, 0,
  77. 0, 144, 0, 8, 15, 160,
  78. 66, 0, 0, 3, 0, 0,
  79. 15, 128, 0, 0, 228, 176,
  80. 0, 8, 228, 160, 1, 0,
  81. 0, 2, 0, 8, 15, 128,
  82. 0, 0, 228, 128, 255, 255,
  83. 0, 0, 83, 72, 68, 82,
  84. 100, 0, 0, 0, 64, 0,
  85. 0, 0, 25, 0, 0, 0,
  86. 90, 0, 0, 3, 0, 96,
  87. 16, 0, 0, 0, 0, 0,
  88. 88, 24, 0, 4, 0, 112,
  89. 16, 0, 0, 0, 0, 0,
  90. 85, 85, 0, 0, 98, 16,
  91. 0, 3, 50, 16, 16, 0,
  92. 1, 0, 0, 0, 101, 0,
  93. 0, 3, 242, 32, 16, 0,
  94. 0, 0, 0, 0, 69, 0,
  95. 0, 9, 242, 32, 16, 0,
  96. 0, 0, 0, 0, 70, 16,
  97. 16, 0, 1, 0, 0, 0,
  98. 70, 126, 16, 0, 0, 0,
  99. 0, 0, 0, 96, 16, 0,
  100. 0, 0, 0, 0, 62, 0,
  101. 0, 1, 83, 84, 65, 84,
  102. 116, 0, 0, 0, 2, 0,
  103. 0, 0, 0, 0, 0, 0,
  104. 0, 0, 0, 0, 2, 0,
  105. 0, 0, 0, 0, 0, 0,
  106. 0, 0, 0, 0, 0, 0,
  107. 0, 0, 1, 0, 0, 0,
  108. 0, 0, 0, 0, 0, 0,
  109. 0, 0, 0, 0, 0, 0,
  110. 0, 0, 0, 0, 0, 0,
  111. 0, 0, 0, 0, 0, 0,
  112. 1, 0, 0, 0, 0, 0,
  113. 0, 0, 0, 0, 0, 0,
  114. 0, 0, 0, 0, 0, 0,
  115. 0, 0, 0, 0, 0, 0,
  116. 0, 0, 0, 0, 0, 0,
  117. 0, 0, 0, 0, 0, 0,
  118. 0, 0, 0, 0, 0, 0,
  119. 0, 0, 0, 0, 0, 0,
  120. 0, 0, 0, 0, 0, 0,
  121. 0, 0, 0, 0, 0, 0,
  122. 82, 68, 69, 70, 148, 0,
  123. 0, 0, 0, 0, 0, 0,
  124. 0, 0, 0, 0, 2, 0,
  125. 0, 0, 28, 0, 0, 0,
  126. 0, 4, 255, 255, 0, 1,
  127. 0, 0, 105, 0, 0, 0,
  128. 92, 0, 0, 0, 3, 0,
  129. 0, 0, 0, 0, 0, 0,
  130. 0, 0, 0, 0, 0, 0,
  131. 0, 0, 0, 0, 0, 0,
  132. 1, 0, 0, 0, 1, 0,
  133. 0, 0, 102, 0, 0, 0,
  134. 2, 0, 0, 0, 5, 0,
  135. 0, 0, 4, 0, 0, 0,
  136. 255, 255, 255, 255, 0, 0,
  137. 0, 0, 1, 0, 0, 0,
  138. 13, 0, 0, 0, 115, 97,
  139. 109, 76, 105, 110, 101, 97,
  140. 114, 0, 116, 120, 0, 77,
  141. 105, 99, 114, 111, 115, 111,
  142. 102, 116, 32, 40, 82, 41,
  143. 32, 72, 76, 83, 76, 32,
  144. 83, 104, 97, 100, 101, 114,
  145. 32, 67, 111, 109, 112, 105,
  146. 108, 101, 114, 32, 49, 48,
  147. 46, 49, 0, 171, 171, 171,
  148. 73, 83, 71, 78, 80, 0,
  149. 0, 0, 2, 0, 0, 0,
  150. 8, 0, 0, 0, 56, 0,
  151. 0, 0, 0, 0, 0, 0,
  152. 1, 0, 0, 0, 3, 0,
  153. 0, 0, 0, 0, 0, 0,
  154. 15, 0, 0, 0, 68, 0,
  155. 0, 0, 0, 0, 0, 0,
  156. 0, 0, 0, 0, 3, 0,
  157. 0, 0, 1, 0, 0, 0,
  158. 3, 3, 0, 0, 83, 86,
  159. 95, 80, 79, 83, 73, 84,
  160. 73, 79, 78, 0, 84, 69,
  161. 88, 67, 79, 79, 82, 68,
  162. 0, 171, 171, 171, 79, 83,
  163. 71, 78, 44, 0, 0, 0,
  164. 1, 0, 0, 0, 8, 0,
  165. 0, 0, 32, 0, 0, 0,
  166. 0, 0, 0, 0, 0, 0,
  167. 0, 0, 3, 0, 0, 0,
  168. 0, 0, 0, 0, 15, 0,
  169. 0, 0, 83, 86, 95, 84,
  170. 97, 114, 103, 101, 116, 0,
  171. 171, 171
  172. };