Advertisement
Guest User

human.ppu.elf

a guest
Apr 4th, 2014
218
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [!]: path: /dev_hdd0/game/
  2. [!]: (S)ELF: booting...
  3. [!]: Loading 'F:\Downloads\PS3\sw_emu\tests\gcm\human\human.ppu.elf'...
  4. [!]: Mount info:
  5. [!]: /dev_hdd0/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_hdd0/
  6. [!]: /dev_hdd1/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_hdd1/
  7. [!]: /dev_flash/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_flash/
  8. [!]: /dev_usb000/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_usb000/
  9. [!]: /dev_usb/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_usb000/
  10. [!]: /app_home/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/
  11. [!]: /dev_bdvd/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/../
  12. [!]: /host_root/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/host_root/
  13. [!]: / -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/
  14. [!]: /USRDIR/PS3_GAME/USRDIR/Data/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/Data/
  15. [!]: /Data/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/Data/
  16. [!]: /app_home/Game/PS3_GAME/USRDIR/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/
  17. [!]: Initing memory...
  18. [!]: Memory initialized.
  19. [S]: (S)ELF: boot done.
  20. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 3
  21. [W : PPU[1] Thread (CPUThread)[0x0001fb70]]: memory warning: sys_memory_get_user_memory_size(mem_info_addr=0xd0010c04)
  22. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 4
  23. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 5
  24. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 6
  25. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 7
  26. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 8
  27. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 9
  28. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 10
  29. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 11
  30. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 12
  31. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lgcmtx] (attribute=0x12): sq_id = 13
  32. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lgcmtx] (attribute=0x12): sq_id = 14
  33. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lgcmtx] (attribute=0x22): sq_id = 15
  34. [W : PPU[1] Thread (CPUThread)[0x0017c010]]: cellGcmSys warning: cellGcmInit(context_addr=0x183164,cmdSize=0x10000,ioSize=0x100000,ioAddress=0x30200000)
  35. [W : PPU[1] Thread (CPUThread)[0x0017c010]]: cellGcmSys warning: *** local memory(addr=0xc0000000, size=0xf900000)
  36. [W : PPU[1] Thread (CPUThread)[0x0017c010]]: cellGcmSys warning: cellGcmMapEaIoAddress(ea=0x30200000, io=0x0, size=0x100000)
  37. [! : RSXThread]: RSX thread entry
  38. [W : PPU[1] Thread (CPUThread)[0x0017e010]]: cellSysmodule warning: cellSysmoduleLoadModule(CELL_SYSMODULE_FS)
  39. [W : PPU[1] Thread (CPUThread)[0x00188028]]: cellSysutil warning: cellSysutilRegisterCallback(slot=0, func_addr=0x1802b0, userdata=0x0)
  40. [W : PPU[1] Thread (CPUThread)[0x0017c004]]: cellGcmSys warning: cellGcmGetTiledPitchSize(size=2880)
  41. [W : PPU[1] Thread (CPUThread)[0x0017c004]]: cellGcmSys warning: cellGcmGetTiledPitchSize(size=2880)
  42. [W : PPU[1] Thread (CPUThread)[0x0017c0a0]]: cellGcmSys warning: cellGcmSetDisplayBuffer(id=0x0,offset=0x0,pitch=4,width=720,height=480)
  43. [W : PPU[1] Thread (CPUThread)[0x0017c0a0]]: cellGcmSys warning: cellGcmSetDisplayBuffer(id=0x1,offset=0x170000,pitch=4,width=720,height=480)
  44. [W : PPU[1] Thread (CPUThread)[0x00188004]]: cellSysutil warning: cellVideoOutConfigure(videoOut=0, config_addr=0xd0010940, option_addr=0x0, waitForEvent=0x0)
  45. [W : PPU[1] Thread (CPUThread)[0x0017c04c]]: cellGcmSys warning: cellGcmSetFlipMode(mode=2)
  46. [W : PPU[1] Thread (CPUThread)[0x0017e01c]]: cellSysmodule warning: cellSysmoduleIsLoaded(CELL_SYSMODULE_FS)
  47. [W : PPU[1] Thread (CPUThread)[0x0018a01c]]: *** cellFsOpen(path="/host_root/sample_data/graphics/gcm/human/normalMap.gtf"): fd = 16
  48. [W : PPU[1] Thread (CPUThread)[0x0018a004]]: sys_fs warning: cellFsClose(fd=16)
  49. [W : PPU[1] Thread (CPUThread)[0x0017e01c]]: cellSysmodule warning: cellSysmoduleIsLoaded(CELL_SYSMODULE_FS)
  50. [W : PPU[1] Thread (CPUThread)[0x0018a01c]]: *** cellFsOpen(path="/host_root/sample_data/graphics/gcm/human/normalMap.gtf"): fd = 17
  51. [W : PPU[1] Thread (CPUThread)[0x0018a004]]: sys_fs warning: cellFsClose(fd=17)
  52. [W : PPU[1] Thread (CPUThread)[0x0017c094]]: cellGcmSys warning: cellGcmMapMainMemory(ea=0x30400000,size=0x100000,offset_addr=0x182f30)
  53. [W : PPU[1] Thread (CPUThread)[0x0017c0d0]]: cellGcmSys warning: cellGcmSetDefaultCommandBuffer()
  54. [W : RSXThread]: FP not found in buffer!
  55. [W : RSXThread]: VP not found in buffer!
  56. [! : RSXThread]: Add program (0):
  57. [! : RSXThread]: *** prog id = 3
  58. [! : RSXThread]: *** vp id = 2
  59. [! : RSXThread]: *** fp id = 1
  60. [! : RSXThread]: *** vp data size = 944
  61. [! : RSXThread]: *** fp data size = 48
  62. [! : RSXThread]: *** vp shader =
  63. #version 330
  64.  
  65. uniform mat4 scaleOffsetMat = mat4(1.0);
  66. layout (location = 0) in vec4 in_pos;
  67. layout (location = 2) in vec4 in_normal;
  68. uniform vec4 vc467;
  69. uniform vec4 vc464;
  70. uniform vec4 vc463;
  71. uniform vec4 vc256;
  72. uniform vec4 vc257;
  73. uniform vec4 vc258;
  74. uniform vec4 vc259;
  75. uniform vec4 vc261;
  76. uniform vec4 vc260;
  77. uniform vec4 vc262;
  78. uniform vec4 vc263;
  79. uniform vec4 vc466;
  80. uniform vec4 vc465;
  81. vec4 tmp7;
  82. vec4 tmp8;
  83. vec4 tmp3;
  84. vec4 tmp2;
  85. vec4 tmp9;
  86. vec4 tmp1;
  87. vec4 tmp0;
  88. vec4 tmp4;
  89. vec4 tmp5;
  90. vec4 tmp6;
  91. vec4 tmp10;
  92. vec4 rc = vec4(0.0);
  93. out vec4 col0;
  94. out vec4 tc0;
  95.  
  96. void func0();
  97.  
  98. void main()
  99. {
  100. gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
  101. func0();
  102. gl_Position = gl_Position * scaleOffsetMat;
  103. }
  104.  
  105. void func0()
  106. {
  107. tmp7.xyz = (vc467.xyzx + -in_pos.xyzx).xyz;
  108. tmp8.xyz = (vc464.xyzx + -in_pos.xyzx).xyz;
  109. col0.w = vc463.yyyy.w;
  110. tmp7.w = vc463.xxxx.w;
  111. tmp3.x = vc256.wwww.x;
  112. tmp3.y = vc257.wwww.y;
  113. tmp3.z = vc258.wwww.z;
  114. tmp3.w = vc259.wwww.w;
  115. tmp2.x = vc256.zzzz.x;
  116. tmp2.y = vc257.zzzz.y;
  117. tmp2.z = vc258.zzzz.z;
  118. tmp2.w = vc259.zzzz.w;
  119. tmp9.x = vec2(dot(in_normal.xyzx.xyz, in_normal.xyzx.xyz), 0).xxxx.x;
  120. tmp1.x = vc256.xxxx.x;
  121. tmp1.y = vc257.xxxx.y;
  122. tmp1.z = vc258.xxxx.z;
  123. tmp1.w = vc259.xxxx.w;
  124. tmp0.x = vc256.yyyy.x;
  125. tmp0.y = vc257.yyyy.y;
  126. tmp0.z = vc258.yyyy.z;
  127. tmp0.w = vc259.yyyy.w;
  128. tmp4 = (tmp0 * vc261.wwww);
  129. tmp5 = (tmp0 * vc261.zzzz);
  130. tmp6 = (tmp0 * vc261.yyyy);
  131. tmp0 = (tmp0 * vc261.xxxx);
  132. tmp0 = (tmp1 * vc260.xxxx + tmp0);
  133. tmp6 = (tmp1 * vc260.yyyy + tmp6);
  134. tmp5 = (tmp1 * vc260.zzzz + tmp5);
  135. tmp1 = (tmp1 * vc260.wwww + tmp4);
  136. tmp8.w = vec2(dot(tmp8.xyzx.xyz, tmp8.xyzx.xyz), 0).xxxx.w;
  137. tmp9.x = inversesqrt(tmp9.x);
  138. tmp10.x = vec2(dot(tmp7.xyzx.xyz, tmp7.xyzx.xyz), 0).xxxx.x;
  139. tmp1 = (tmp2 * vc262.wwww + tmp1);
  140. tmp4 = (tmp2 * vc262.zzzz + tmp5);
  141. tmp5 = (tmp2 * vc262.yyyy + tmp6);
  142. tmp0 = (tmp2 * vc262.xxxx + tmp0);
  143. tmp0 = (tmp3 * vc263.xxxx + tmp0);
  144. tmp2 = (tmp3 * vc263.yyyy + tmp5);
  145. tmp4 = (tmp3 * vc263.zzzz + tmp4);
  146. tmp1 = (tmp3 * vc263.wwww + tmp1);
  147. tmp5.x = inversesqrt(tmp10.x);
  148. tmp3.xyz = (tmp9.xxxx * in_normal.xyzx).xyz;
  149. tmp3.w = vec4(inversesqrt(tmp8.w)).w;
  150. gl_Position.w = vec2(dot(tmp1, in_pos), 0).xxxx.w;
  151. tmp1.xyz = (tmp5.xxxx * tmp7.xyzx).xyz;
  152. tmp5.xyz = (tmp3.wwww * tmp8.xyzx + tmp1.xyzx).xyz;
  153. gl_Position.z = vec2(dot(in_pos, tmp4), 0).xxxx.z;
  154. tmp1.w = vec2(dot(tmp5.xyzx.xyz, tmp5.xyzx.xyz), 0).xxxx.w;
  155. gl_Position.y = vec2(dot(in_pos, tmp2), 0).xxxx.y;
  156. tmp1.w = vec4(inversesqrt(tmp1.w)).w;
  157. gl_Position.x = vec2(dot(in_pos, tmp0), 0).xxxx.x;
  158. tmp0.w = vec2(dot(tmp3.xyzx.xyz, tmp1.xyzx.xyz), 0).xxxx.w;
  159. tmp0.xyz = (tmp1.wwww * tmp5.xyzx).xyz;
  160. tmp0.x = vec2(dot(tmp3.xyzx.xyz, tmp0.xyzx.xyz), 0).xxxx.x;
  161. tmp1.x = max(tmp0.wwww, vc463.xxxx).x;
  162. tmp0.x = max(tmp0.xxxx, vc463.xxxx).x;
  163. rc.x = tmp1.xxxx.x;
  164. tmp0.w = log2(tmp0.x);
  165. tmp0.xyz = (tmp1.xxxx * vc466.xyzx).xyz;
  166. tmp0.w = (tmp0.wwww * vc463.zzzz).w;
  167. if(all(greaterThan(rc.xxxx, vec4(0.0).xxxx))) tmp7.w = exp2(tmp0.w);
  168. col0.xyz = (vc465.xyzx + tmp0.xyzx).xyz;
  169. tc0 = tmp7.wwww;
  170. }
  171.  
  172. [! : RSXThread]: *** fp shader =
  173. #version 330
  174.  
  175. in vec4 tc0;
  176. in vec4 col0;
  177. vec4 r1 = vec4(0.0, 0.0, 0.0, 0.0);
  178. vec4 h0 = vec4(0.0, 0.0, 0.0, 0.0);
  179. vec4 r0 = vec4(0.0, 0.0, 0.0, 0.0);
  180. layout (location = 0) out vec4 ocol;
  181.  
  182. void main()
  183. {
  184. r1 = tc0;
  185. h0 = col0;
  186. r0 = (r1 + h0);
  187. ocol = r0;
  188. }
  189.  
  190. [W : RSXThread]: New FBO (720x480)
  191. [W : RSXThread]: FP not found in buffer!
  192. [W : RSXThread]: VP not found in buffer!
  193. [! : RSXThread]: Add program (1):
  194. [! : RSXThread]: *** prog id = 4
  195. [! : RSXThread]: *** vp id = 2
  196. [! : RSXThread]: *** fp id = 1
  197. [! : RSXThread]: *** vp data size = 608
  198. [! : RSXThread]: *** fp data size = 512
  199. [! : RSXThread]: *** vp shader =
  200. #version 330
  201.  
  202. uniform mat4 scaleOffsetMat = mat4(1.0);
  203. layout (location = 0) in vec4 in_pos;
  204. layout (location = 2) in vec4 in_normal;
  205. out vec4 tc0;
  206. out vec4 tc1;
  207. uniform vec4 vc256;
  208. uniform vec4 vc257;
  209. uniform vec4 vc258;
  210. uniform vec4 vc259;
  211. uniform vec4 vc261;
  212. uniform vec4 vc260;
  213. uniform vec4 vc262;
  214. uniform vec4 vc263;
  215. vec4 tmp0;
  216. vec4 tmp1;
  217. vec4 tmp3;
  218. vec4 tmp2;
  219. vec4 tmp5;
  220. vec4 tmp6;
  221. vec4 tmp4;
  222.  
  223. void func0();
  224.  
  225. void main()
  226. {
  227. gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
  228. func0();
  229. gl_Position = gl_Position * scaleOffsetMat;
  230. }
  231.  
  232. void func0()
  233. {
  234. tc0 = in_pos;
  235. tc1.xyz = in_normal.xyzx.xyz;
  236. tmp0.x = vc256.wwww.x;
  237. tmp0.y = vc257.wwww.y;
  238. tmp0.z = vc258.wwww.z;
  239. tmp0.w = vc259.wwww.w;
  240. tmp1.x = vc256.zzzz.x;
  241. tmp1.y = vc257.zzzz.y;
  242. tmp1.z = vc258.zzzz.z;
  243. tmp1.w = vc259.zzzz.w;
  244. tmp3.x = vc256.xxxx.x;
  245. tmp3.y = vc257.xxxx.y;
  246. tmp3.z = vc258.xxxx.z;
  247. tmp3.w = vc259.xxxx.w;
  248. tmp2.x = vc256.yyyy.x;
  249. tmp2.y = vc257.yyyy.y;
  250. tmp2.z = vc258.yyyy.z;
  251. tmp2.w = vc259.yyyy.w;
  252. tmp5 = (tmp2 * vc261.zzzz);
  253. tmp6 = (tmp2 * vc261.wwww);
  254. tmp4 = (tmp2 * vc261.yyyy);
  255. tmp2 = (tmp2 * vc261.xxxx);
  256. tmp2 = (tmp3 * vc260.xxxx + tmp2);
  257. tmp4 = (tmp3 * vc260.yyyy + tmp4);
  258. tmp6 = (tmp3 * vc260.wwww + tmp6);
  259. tmp3 = (tmp3 * vc260.zzzz + tmp5);
  260. tmp3 = (tmp1 * vc262.zzzz + tmp3);
  261. tmp5 = (tmp1 * vc262.wwww + tmp6);
  262. tmp4 = (tmp1 * vc262.yyyy + tmp4);
  263. tmp1 = (tmp1 * vc262.xxxx + tmp2);
  264. tmp1 = (tmp0 * vc263.xxxx + tmp1);
  265. tmp2 = (tmp0 * vc263.yyyy + tmp4);
  266. tmp4 = (tmp0 * vc263.wwww + tmp5);
  267. tmp0 = (tmp0 * vc263.zzzz + tmp3);
  268. gl_Position.w = vec2(dot(tmp4, in_pos), 0).xxxx.w;
  269. gl_Position.z = vec2(dot(in_pos, tmp0), 0).xxxx.z;
  270. gl_Position.y = vec2(dot(in_pos, tmp2), 0).xxxx.y;
  271. gl_Position.x = vec2(dot(in_pos, tmp1), 0).xxxx.x;
  272. }
  273.  
  274. [! : RSXThread]: *** fp shader =
  275. #version 330
  276.  
  277. in vec4 tc0;
  278. in vec4 tc1;
  279. vec4 r1 = vec4(0.0, 0.0, 0.0, 0.0);
  280. vec4 r0 = vec4(0.0, 0.0, 0.0, 0.0);
  281. uniform vec4 fc32 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  282. uniform vec4 fc64 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  283. uniform vec4 fc256 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  284. uniform vec4 fc304 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  285. uniform vec4 fc352 = vec4(0.000000, 0.000000, 0.000000, 17.895399);
  286. uniform vec4 fc384 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  287. uniform vec4 fc416 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  288. uniform vec4 fc496 = vec4(1.000000, 0.000000, 0.000000, 0.000000);
  289. layout (location = 1) out vec4 r2;
  290. layout (location = 0) out vec4 ocol;
  291.  
  292. void main()
  293. {
  294. r1.xyz = tc0.xyz;
  295. r0.xyz = (-r1 + fc32).xyz;
  296. r1.xyz = (-r1 + fc64).xyz;
  297. r1.w = vec2(dot(r1.xyz, r1.xyz), 0).xxxx.w;
  298. r1.xyz = (r1 / sqrt(r1.wwww)).xyz;
  299. r1.w = vec2(dot(r0.xyz, r0.xyz), 0).xxxx.w;
  300. r0.xyz = (r0 / sqrt(r1.wwww)).xyz;
  301. r2.xyz = (r1 + r0).xyz;
  302. r0.w = vec2(dot(tc1.xyz, tc1.xyz), 0).xxxx.w;
  303. r0.xyz = (tc1 / sqrt(r0.wwww)).xyz;
  304. r0.w = vec2(dot(r2.xyz, r2.xyz), 0).xxxx.w;
  305. r2.xyz = (r2 / sqrt(r0.wwww)).xyz;
  306. r0.w = vec2(dot(r0.xyz, r2.xyz), 0).xxxx.w;
  307. r1.w = max(r0, fc256.xxxx).w;
  308. r1.x = vec2(dot(r0.xyz, r1.xyz), 0).xxxx.x;
  309. r1.x = max(r1, fc304.xxxx).x;
  310. r0.x = log2(r1.wwww).x;
  311. r0.w = (r0.xxxx * fc352).w;
  312. r0.xyz = fc384.xyz;
  313. r0.xyz = (r1.xxxx * fc416 + r0).xyz;
  314. r0.w = exp2(r0.wwww).w;
  315. r0.xyz = (r0 + r0.wwww).xyz;
  316. r0.w = fc496.xxxx.w;
  317. ocol = r0;
  318. }
  319.  
  320. [W : RSXThread]: FP not found in buffer!
  321. [W : RSXThread]: VP not found in buffer!
  322. [! : RSXThread]: Add program (2):
  323. [! : RSXThread]: *** prog id = 5
  324. [! : RSXThread]: *** vp id = 2
  325. [! : RSXThread]: *** fp id = 1
  326. [! : RSXThread]: *** vp data size = 608
  327. [! : RSXThread]: *** fp data size = 608
  328. [! : RSXThread]: *** vp shader =
  329. #version 330
  330.  
  331. uniform mat4 scaleOffsetMat = mat4(1.0);
  332. layout (location = 0) in vec4 in_pos;
  333. layout (location = 8) in vec4 in_tc0;
  334. out vec4 tc0;
  335. out vec4 tc1;
  336. uniform vec4 vc256;
  337. uniform vec4 vc257;
  338. uniform vec4 vc258;
  339. uniform vec4 vc259;
  340. uniform vec4 vc261;
  341. uniform vec4 vc260;
  342. uniform vec4 vc262;
  343. uniform vec4 vc263;
  344. vec4 tmp0;
  345. vec4 tmp1;
  346. vec4 tmp3;
  347. vec4 tmp2;
  348. vec4 tmp5;
  349. vec4 tmp6;
  350. vec4 tmp4;
  351.  
  352. void func0();
  353.  
  354. void main()
  355. {
  356. gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
  357. func0();
  358. gl_Position = gl_Position * scaleOffsetMat;
  359. }
  360.  
  361. void func0()
  362. {
  363. tc0 = in_pos;
  364. tc1.xy = in_tc0.xyxx.xy;
  365. tmp0.x = vc256.wwww.x;
  366. tmp0.y = vc257.wwww.y;
  367. tmp0.z = vc258.wwww.z;
  368. tmp0.w = vc259.wwww.w;
  369. tmp1.x = vc256.zzzz.x;
  370. tmp1.y = vc257.zzzz.y;
  371. tmp1.z = vc258.zzzz.z;
  372. tmp1.w = vc259.zzzz.w;
  373. tmp3.x = vc256.xxxx.x;
  374. tmp3.y = vc257.xxxx.y;
  375. tmp3.z = vc258.xxxx.z;
  376. tmp3.w = vc259.xxxx.w;
  377. tmp2.x = vc256.yyyy.x;
  378. tmp2.y = vc257.yyyy.y;
  379. tmp2.z = vc258.yyyy.z;
  380. tmp2.w = vc259.yyyy.w;
  381. tmp5 = (tmp2 * vc261.zzzz);
  382. tmp6 = (tmp2 * vc261.wwww);
  383. tmp4 = (tmp2 * vc261.yyyy);
  384. tmp2 = (tmp2 * vc261.xxxx);
  385. tmp2 = (tmp3 * vc260.xxxx + tmp2);
  386. tmp4 = (tmp3 * vc260.yyyy + tmp4);
  387. tmp6 = (tmp3 * vc260.wwww + tmp6);
  388. tmp3 = (tmp3 * vc260.zzzz + tmp5);
  389. tmp3 = (tmp1 * vc262.zzzz + tmp3);
  390. tmp5 = (tmp1 * vc262.wwww + tmp6);
  391. tmp4 = (tmp1 * vc262.yyyy + tmp4);
  392. tmp1 = (tmp1 * vc262.xxxx + tmp2);
  393. tmp1 = (tmp0 * vc263.xxxx + tmp1);
  394. tmp2 = (tmp0 * vc263.yyyy + tmp4);
  395. tmp4 = (tmp0 * vc263.wwww + tmp5);
  396. tmp0 = (tmp0 * vc263.zzzz + tmp3);
  397. gl_Position.w = vec2(dot(tmp4, in_pos), 0).xxxx.w;
  398. gl_Position.z = vec2(dot(in_pos, tmp0), 0).xxxx.z;
  399. gl_Position.y = vec2(dot(in_pos, tmp2), 0).xxxx.y;
  400. gl_Position.x = vec2(dot(in_pos, tmp1), 0).xxxx.x;
  401. }
  402.  
  403. [! : RSXThread]: *** fp shader =
  404. #version 330
  405.  
  406. in vec4 tc0;
  407. in vec4 tc1;
  408. vec4 r1 = vec4(0.0, 0.0, 0.0, 0.0);
  409. vec4 r0 = vec4(0.0, 0.0, 0.0, 0.0);
  410. vec4 rc0;
  411. uniform vec4 fc32 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  412. uniform vec4 fc64 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  413. uniform vec4 fc192 = vec4(2.000000, -1.000000, 0.000000, 0.000000);
  414. uniform vec4 fc304 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  415. uniform vec4 fc352 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  416. uniform vec4 fc384 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  417. uniform vec4 fc448 = vec4(0.000000, 0.000000, 0.000000, 17.895399);
  418. uniform vec4 fc480 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  419. uniform vec4 fc512 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  420. uniform vec4 fc560 = vec4(1.000000, 0.000000, 0.000000, 0.000000);
  421. layout (location = 1) out vec4 r2;
  422. layout (location = 0) out vec4 ocol;
  423. uniform sampler2D tex0;
  424.  
  425. void main()
  426. {
  427. r1.xyz = tc0.xyz;
  428. r0.xyz = (-r1 + fc32).xyz;
  429. r1.xyz = (-r1 + fc64).xyz;
  430. r0.w = vec2(dot(r1.xyz, r1.xyz), 0).xxxx.w;
  431. r1.xyz = (r1 / sqrt(r0.wwww)).xyz;
  432. r0.w = vec2(dot(r0.xyz, r0.xyz), 0).xxxx.w;
  433. r0.xyz = (r0 / sqrt(r0.wwww)).xyz;
  434. r2.xyz = (r1 + r0).xyz;
  435. r0.xyz = texture(tex0, tc1.xy).xyz;
  436. r0.xyz = (r0 * fc192.xxxx + fc192.yyyy).xyz;
  437. r1.w = vec2(dot(r2.xyz, r2.xyz), 0).xxxx.w;
  438. r0.w = vec2(dot(r0.xyz, r0.xyz), 0).xxxx.w;
  439. r0.xyz = (r0 / sqrt(r0.wwww)).xyz;
  440. r0.w = vec2(dot(r0.xyz, r1.xyz), 0).xxxx.w;
  441. r1.xyz = (r2 / sqrt(r1.wwww)).xyz;
  442. r1.w = fc304.xxxx.w;
  443. r0.x = vec2(dot(r0.xyz, r1.xyz), 0).xxxx.x;
  444. r1.z = max(r0.xxxx, fc352.xxxx).z;
  445. r1.x = max(r0.wwww, fc384.xxxx).x;
  446. rc0.x = r1.x;
  447. r0.x = log2(r1.zzzz).x;
  448. r0.w = (r0.xxxx * fc448).w;
  449. r0.xyz = fc480.xyz;
  450. r0.xyz = (r1.xxxx * fc512 + r0).xyz;
  451. if(all(greaterThan(rc0.xxxx, vec4(0.0)))) r1.w = exp2(r0.wwww).w;
  452. r0.w = fc560.xxxx.w;
  453. r0.xyz = (r0 + r1.wwww).xyz;
  454. ocol = r0;
  455. }
  456.  
  457. [! : RSXThread]: RSX thread exit...
  458. [!]: Closing memory...
  459. [!]: Loading 'F:\Downloads\PS3\sw_emu\tests\gcm\human\human.ppu.elf'...
  460. [!]: Mount info:
  461. [!]: /dev_hdd0/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_hdd0/
  462. [!]: /dev_hdd1/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_hdd1/
  463. [!]: /dev_flash/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_flash/
  464. [!]: /dev_usb000/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_usb000/
  465. [!]: /dev_usb/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/dev_usb000/
  466. [!]: /app_home/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/
  467. [!]: /dev_bdvd/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/../
  468. [!]: /host_root/ -> D:\Documents and Settings\trinitw7x64\PS3\rpcs3-64/host_root/
  469. [!]: / -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/
  470. [!]: /USRDIR/PS3_GAME/USRDIR/Data/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/Data/
  471. [!]: /Data/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/Data/
  472. [!]: /app_home/Game/PS3_GAME/USRDIR/ -> F:\Downloads\PS3\sw_emu\tests\gcm\human\/USRDIR/
  473. [!]: Initing memory...
  474. [!]: Memory initialized.
  475. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 3
  476. [W : PPU[1] Thread (CPUThread)[0x0001fb70]]: memory warning: sys_memory_get_user_memory_size(mem_info_addr=0xd0010c04)
  477. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 4
  478. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 5
  479. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 6
  480. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 7
  481. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 8
  482. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 9
  483. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 10
  484. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 11
  485. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lc_mtx] (attribute=0x12): sq_id = 12
  486. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lgcmtx] (attribute=0x12): sq_id = 13
  487. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lgcmtx] (attribute=0x12): sq_id = 14
  488. [W : PPU[1] Thread (CPUThread)[0x0018e028]]: sys_lwmutex warning: *** lwmutex created [_lgcmtx] (attribute=0x22): sq_id = 15
  489. [W : PPU[1] Thread (CPUThread)[0x0017c010]]: cellGcmSys warning: cellGcmInit(context_addr=0x183164,cmdSize=0x10000,ioSize=0x100000,ioAddress=0x30200000)
  490. [W : PPU[1] Thread (CPUThread)[0x0017c010]]: cellGcmSys warning: *** local memory(addr=0xc0000000, size=0xf900000)
  491. [W : PPU[1] Thread (CPUThread)[0x0017c010]]: cellGcmSys warning: cellGcmMapEaIoAddress(ea=0x30200000, io=0x0, size=0x100000)
  492. [! : RSXThread]: RSX thread entry
  493. [W : PPU[1] Thread (CPUThread)[0x0017e010]]: cellSysmodule warning: cellSysmoduleLoadModule(CELL_SYSMODULE_FS)
  494. [W : PPU[1] Thread (CPUThread)[0x00188028]]: cellSysutil warning: cellSysutilRegisterCallback(slot=0, func_addr=0x1802b0, userdata=0x0)
  495. [W : PPU[1] Thread (CPUThread)[0x0017c004]]: cellGcmSys warning: cellGcmGetTiledPitchSize(size=2880)
  496. [W : PPU[1] Thread (CPUThread)[0x0017c004]]: cellGcmSys warning: cellGcmGetTiledPitchSize(size=2880)
  497. [W : PPU[1] Thread (CPUThread)[0x0017c0a0]]: cellGcmSys warning: cellGcmSetDisplayBuffer(id=0x0,offset=0x0,pitch=4,width=720,height=480)
  498. [W : PPU[1] Thread (CPUThread)[0x0017c0a0]]: cellGcmSys warning: cellGcmSetDisplayBuffer(id=0x1,offset=0x170000,pitch=4,width=720,height=480)
  499. [W : PPU[1] Thread (CPUThread)[0x00188004]]: cellSysutil warning: cellVideoOutConfigure(videoOut=0, config_addr=0xd0010940, option_addr=0x0, waitForEvent=0x0)
  500. [W : PPU[1] Thread (CPUThread)[0x0017c04c]]: cellGcmSys warning: cellGcmSetFlipMode(mode=2)
  501. [W : PPU[1] Thread (CPUThread)[0x0017e01c]]: cellSysmodule warning: cellSysmoduleIsLoaded(CELL_SYSMODULE_FS)
  502. [W : PPU[1] Thread (CPUThread)[0x0018a01c]]: *** cellFsOpen(path="/host_root/sample_data/graphics/gcm/human/normalMap.gtf"): fd = 16
  503. [W : PPU[1] Thread (CPUThread)[0x0018a004]]: sys_fs warning: cellFsClose(fd=16)
  504. [W : PPU[1] Thread (CPUThread)[0x0017e01c]]: cellSysmodule warning: cellSysmoduleIsLoaded(CELL_SYSMODULE_FS)
  505. [W : PPU[1] Thread (CPUThread)[0x0018a01c]]: *** cellFsOpen(path="/host_root/sample_data/graphics/gcm/human/normalMap.gtf"): fd = 17
  506. [W : PPU[1] Thread (CPUThread)[0x0018a004]]: sys_fs warning: cellFsClose(fd=17)
  507. [W : PPU[1] Thread (CPUThread)[0x0017c094]]: cellGcmSys warning: cellGcmMapMainMemory(ea=0x30400000,size=0x100000,offset_addr=0x182f30)
  508. [W : PPU[1] Thread (CPUThread)[0x0017c0d0]]: cellGcmSys warning: cellGcmSetDefaultCommandBuffer()
  509. [W : RSXThread]: FP not found in buffer!
  510. [W : RSXThread]: VP not found in buffer!
  511. [! : RSXThread]: Add program (0):
  512. [! : RSXThread]: *** prog id = 3
  513. [! : RSXThread]: *** vp id = 2
  514. [! : RSXThread]: *** fp id = 1
  515. [! : RSXThread]: *** vp data size = 944
  516. [! : RSXThread]: *** fp data size = 48
  517. [! : RSXThread]: *** vp shader =
  518. #version 330
  519.  
  520. uniform mat4 scaleOffsetMat = mat4(1.0);
  521. layout (location = 0) in vec4 in_pos;
  522. layout (location = 2) in vec4 in_normal;
  523. uniform vec4 vc467;
  524. uniform vec4 vc464;
  525. uniform vec4 vc463;
  526. uniform vec4 vc256;
  527. uniform vec4 vc257;
  528. uniform vec4 vc258;
  529. uniform vec4 vc259;
  530. uniform vec4 vc261;
  531. uniform vec4 vc260;
  532. uniform vec4 vc262;
  533. uniform vec4 vc263;
  534. uniform vec4 vc466;
  535. uniform vec4 vc465;
  536. vec4 tmp7;
  537. vec4 tmp8;
  538. vec4 tmp3;
  539. vec4 tmp2;
  540. vec4 tmp9;
  541. vec4 tmp1;
  542. vec4 tmp0;
  543. vec4 tmp4;
  544. vec4 tmp5;
  545. vec4 tmp6;
  546. vec4 tmp10;
  547. vec4 rc = vec4(0.0);
  548. out vec4 col0;
  549. out vec4 tc0;
  550.  
  551. void func0();
  552.  
  553. void main()
  554. {
  555. gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
  556. func0();
  557. gl_Position = gl_Position * scaleOffsetMat;
  558. }
  559.  
  560. void func0()
  561. {
  562. tmp7.xyz = (vc467.xyzx + -in_pos.xyzx).xyz;
  563. tmp8.xyz = (vc464.xyzx + -in_pos.xyzx).xyz;
  564. col0.w = vc463.yyyy.w;
  565. tmp7.w = vc463.xxxx.w;
  566. tmp3.x = vc256.wwww.x;
  567. tmp3.y = vc257.wwww.y;
  568. tmp3.z = vc258.wwww.z;
  569. tmp3.w = vc259.wwww.w;
  570. tmp2.x = vc256.zzzz.x;
  571. tmp2.y = vc257.zzzz.y;
  572. tmp2.z = vc258.zzzz.z;
  573. tmp2.w = vc259.zzzz.w;
  574. tmp9.x = vec2(dot(in_normal.xyzx.xyz, in_normal.xyzx.xyz), 0).xxxx.x;
  575. tmp1.x = vc256.xxxx.x;
  576. tmp1.y = vc257.xxxx.y;
  577. tmp1.z = vc258.xxxx.z;
  578. tmp1.w = vc259.xxxx.w;
  579. tmp0.x = vc256.yyyy.x;
  580. tmp0.y = vc257.yyyy.y;
  581. tmp0.z = vc258.yyyy.z;
  582. tmp0.w = vc259.yyyy.w;
  583. tmp4 = (tmp0 * vc261.wwww);
  584. tmp5 = (tmp0 * vc261.zzzz);
  585. tmp6 = (tmp0 * vc261.yyyy);
  586. tmp0 = (tmp0 * vc261.xxxx);
  587. tmp0 = (tmp1 * vc260.xxxx + tmp0);
  588. tmp6 = (tmp1 * vc260.yyyy + tmp6);
  589. tmp5 = (tmp1 * vc260.zzzz + tmp5);
  590. tmp1 = (tmp1 * vc260.wwww + tmp4);
  591. tmp8.w = vec2(dot(tmp8.xyzx.xyz, tmp8.xyzx.xyz), 0).xxxx.w;
  592. tmp9.x = inversesqrt(tmp9.x);
  593. tmp10.x = vec2(dot(tmp7.xyzx.xyz, tmp7.xyzx.xyz), 0).xxxx.x;
  594. tmp1 = (tmp2 * vc262.wwww + tmp1);
  595. tmp4 = (tmp2 * vc262.zzzz + tmp5);
  596. tmp5 = (tmp2 * vc262.yyyy + tmp6);
  597. tmp0 = (tmp2 * vc262.xxxx + tmp0);
  598. tmp0 = (tmp3 * vc263.xxxx + tmp0);
  599. tmp2 = (tmp3 * vc263.yyyy + tmp5);
  600. tmp4 = (tmp3 * vc263.zzzz + tmp4);
  601. tmp1 = (tmp3 * vc263.wwww + tmp1);
  602. tmp5.x = inversesqrt(tmp10.x);
  603. tmp3.xyz = (tmp9.xxxx * in_normal.xyzx).xyz;
  604. tmp3.w = vec4(inversesqrt(tmp8.w)).w;
  605. gl_Position.w = vec2(dot(tmp1, in_pos), 0).xxxx.w;
  606. tmp1.xyz = (tmp5.xxxx * tmp7.xyzx).xyz;
  607. tmp5.xyz = (tmp3.wwww * tmp8.xyzx + tmp1.xyzx).xyz;
  608. gl_Position.z = vec2(dot(in_pos, tmp4), 0).xxxx.z;
  609. tmp1.w = vec2(dot(tmp5.xyzx.xyz, tmp5.xyzx.xyz), 0).xxxx.w;
  610. gl_Position.y = vec2(dot(in_pos, tmp2), 0).xxxx.y;
  611. tmp1.w = vec4(inversesqrt(tmp1.w)).w;
  612. gl_Position.x = vec2(dot(in_pos, tmp0), 0).xxxx.x;
  613. tmp0.w = vec2(dot(tmp3.xyzx.xyz, tmp1.xyzx.xyz), 0).xxxx.w;
  614. tmp0.xyz = (tmp1.wwww * tmp5.xyzx).xyz;
  615. tmp0.x = vec2(dot(tmp3.xyzx.xyz, tmp0.xyzx.xyz), 0).xxxx.x;
  616. tmp1.x = max(tmp0.wwww, vc463.xxxx).x;
  617. tmp0.x = max(tmp0.xxxx, vc463.xxxx).x;
  618. rc.x = tmp1.xxxx.x;
  619. tmp0.w = log2(tmp0.x);
  620. tmp0.xyz = (tmp1.xxxx * vc466.xyzx).xyz;
  621. tmp0.w = (tmp0.wwww * vc463.zzzz).w;
  622. if(all(greaterThan(rc.xxxx, vec4(0.0).xxxx))) tmp7.w = exp2(tmp0.w);
  623. col0.xyz = (vc465.xyzx + tmp0.xyzx).xyz;
  624. tc0 = tmp7.wwww;
  625. }
  626.  
  627. [! : RSXThread]: *** fp shader =
  628. #version 330
  629.  
  630. in vec4 tc0;
  631. in vec4 col0;
  632. vec4 r1 = vec4(0.0, 0.0, 0.0, 0.0);
  633. vec4 h0 = vec4(0.0, 0.0, 0.0, 0.0);
  634. vec4 r0 = vec4(0.0, 0.0, 0.0, 0.0);
  635. layout (location = 0) out vec4 ocol;
  636.  
  637. void main()
  638. {
  639. r1 = tc0;
  640. h0 = col0;
  641. r0 = (r1 + h0);
  642. ocol = r0;
  643. }
  644.  
  645. [W : RSXThread]: New FBO (720x480)
  646. [W : RSXThread]: FP not found in buffer!
  647. [W : RSXThread]: VP not found in buffer!
  648. [! : RSXThread]: Add program (1):
  649. [! : RSXThread]: *** prog id = 4
  650. [! : RSXThread]: *** vp id = 2
  651. [! : RSXThread]: *** fp id = 1
  652. [! : RSXThread]: *** vp data size = 608
  653. [! : RSXThread]: *** fp data size = 512
  654. [! : RSXThread]: *** vp shader =
  655. #version 330
  656.  
  657. uniform mat4 scaleOffsetMat = mat4(1.0);
  658. layout (location = 0) in vec4 in_pos;
  659. layout (location = 2) in vec4 in_normal;
  660. out vec4 tc0;
  661. out vec4 tc1;
  662. uniform vec4 vc256;
  663. uniform vec4 vc257;
  664. uniform vec4 vc258;
  665. uniform vec4 vc259;
  666. uniform vec4 vc261;
  667. uniform vec4 vc260;
  668. uniform vec4 vc262;
  669. uniform vec4 vc263;
  670. vec4 tmp0;
  671. vec4 tmp1;
  672. vec4 tmp3;
  673. vec4 tmp2;
  674. vec4 tmp5;
  675. vec4 tmp6;
  676. vec4 tmp4;
  677.  
  678. void func0();
  679.  
  680. void main()
  681. {
  682. gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
  683. func0();
  684. gl_Position = gl_Position * scaleOffsetMat;
  685. }
  686.  
  687. void func0()
  688. {
  689. tc0 = in_pos;
  690. tc1.xyz = in_normal.xyzx.xyz;
  691. tmp0.x = vc256.wwww.x;
  692. tmp0.y = vc257.wwww.y;
  693. tmp0.z = vc258.wwww.z;
  694. tmp0.w = vc259.wwww.w;
  695. tmp1.x = vc256.zzzz.x;
  696. tmp1.y = vc257.zzzz.y;
  697. tmp1.z = vc258.zzzz.z;
  698. tmp1.w = vc259.zzzz.w;
  699. tmp3.x = vc256.xxxx.x;
  700. tmp3.y = vc257.xxxx.y;
  701. tmp3.z = vc258.xxxx.z;
  702. tmp3.w = vc259.xxxx.w;
  703. tmp2.x = vc256.yyyy.x;
  704. tmp2.y = vc257.yyyy.y;
  705. tmp2.z = vc258.yyyy.z;
  706. tmp2.w = vc259.yyyy.w;
  707. tmp5 = (tmp2 * vc261.zzzz);
  708. tmp6 = (tmp2 * vc261.wwww);
  709. tmp4 = (tmp2 * vc261.yyyy);
  710. tmp2 = (tmp2 * vc261.xxxx);
  711. tmp2 = (tmp3 * vc260.xxxx + tmp2);
  712. tmp4 = (tmp3 * vc260.yyyy + tmp4);
  713. tmp6 = (tmp3 * vc260.wwww + tmp6);
  714. tmp3 = (tmp3 * vc260.zzzz + tmp5);
  715. tmp3 = (tmp1 * vc262.zzzz + tmp3);
  716. tmp5 = (tmp1 * vc262.wwww + tmp6);
  717. tmp4 = (tmp1 * vc262.yyyy + tmp4);
  718. tmp1 = (tmp1 * vc262.xxxx + tmp2);
  719. tmp1 = (tmp0 * vc263.xxxx + tmp1);
  720. tmp2 = (tmp0 * vc263.yyyy + tmp4);
  721. tmp4 = (tmp0 * vc263.wwww + tmp5);
  722. tmp0 = (tmp0 * vc263.zzzz + tmp3);
  723. gl_Position.w = vec2(dot(tmp4, in_pos), 0).xxxx.w;
  724. gl_Position.z = vec2(dot(in_pos, tmp0), 0).xxxx.z;
  725. gl_Position.y = vec2(dot(in_pos, tmp2), 0).xxxx.y;
  726. gl_Position.x = vec2(dot(in_pos, tmp1), 0).xxxx.x;
  727. }
  728.  
  729. [! : RSXThread]: *** fp shader =
  730. #version 330
  731.  
  732. in vec4 tc0;
  733. in vec4 tc1;
  734. vec4 r1 = vec4(0.0, 0.0, 0.0, 0.0);
  735. vec4 r0 = vec4(0.0, 0.0, 0.0, 0.0);
  736. uniform vec4 fc32 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  737. uniform vec4 fc64 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  738. uniform vec4 fc256 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  739. uniform vec4 fc304 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  740. uniform vec4 fc352 = vec4(0.000000, 0.000000, 0.000000, 17.895399);
  741. uniform vec4 fc384 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  742. uniform vec4 fc416 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  743. uniform vec4 fc496 = vec4(1.000000, 0.000000, 0.000000, 0.000000);
  744. layout (location = 1) out vec4 r2;
  745. layout (location = 0) out vec4 ocol;
  746.  
  747. void main()
  748. {
  749. r1.xyz = tc0.xyz;
  750. r0.xyz = (-r1 + fc32).xyz;
  751. r1.xyz = (-r1 + fc64).xyz;
  752. r1.w = vec2(dot(r1.xyz, r1.xyz), 0).xxxx.w;
  753. r1.xyz = (r1 / sqrt(r1.wwww)).xyz;
  754. r1.w = vec2(dot(r0.xyz, r0.xyz), 0).xxxx.w;
  755. r0.xyz = (r0 / sqrt(r1.wwww)).xyz;
  756. r2.xyz = (r1 + r0).xyz;
  757. r0.w = vec2(dot(tc1.xyz, tc1.xyz), 0).xxxx.w;
  758. r0.xyz = (tc1 / sqrt(r0.wwww)).xyz;
  759. r0.w = vec2(dot(r2.xyz, r2.xyz), 0).xxxx.w;
  760. r2.xyz = (r2 / sqrt(r0.wwww)).xyz;
  761. r0.w = vec2(dot(r0.xyz, r2.xyz), 0).xxxx.w;
  762. r1.w = max(r0, fc256.xxxx).w;
  763. r1.x = vec2(dot(r0.xyz, r1.xyz), 0).xxxx.x;
  764. r1.x = max(r1, fc304.xxxx).x;
  765. r0.x = log2(r1.wwww).x;
  766. r0.w = (r0.xxxx * fc352).w;
  767. r0.xyz = fc384.xyz;
  768. r0.xyz = (r1.xxxx * fc416 + r0).xyz;
  769. r0.w = exp2(r0.wwww).w;
  770. r0.xyz = (r0 + r0.wwww).xyz;
  771. r0.w = fc496.xxxx.w;
  772. ocol = r0;
  773. }
  774.  
  775. [W : RSXThread]: FP not found in buffer!
  776. [W : RSXThread]: VP not found in buffer!
  777. [! : RSXThread]: Add program (2):
  778. [! : RSXThread]: *** prog id = 5
  779. [! : RSXThread]: *** vp id = 2
  780. [! : RSXThread]: *** fp id = 1
  781. [! : RSXThread]: *** vp data size = 608
  782. [! : RSXThread]: *** fp data size = 608
  783. [! : RSXThread]: *** vp shader =
  784. #version 330
  785.  
  786. uniform mat4 scaleOffsetMat = mat4(1.0);
  787. layout (location = 0) in vec4 in_pos;
  788. layout (location = 8) in vec4 in_tc0;
  789. out vec4 tc0;
  790. out vec4 tc1;
  791. uniform vec4 vc256;
  792. uniform vec4 vc257;
  793. uniform vec4 vc258;
  794. uniform vec4 vc259;
  795. uniform vec4 vc261;
  796. uniform vec4 vc260;
  797. uniform vec4 vc262;
  798. uniform vec4 vc263;
  799. vec4 tmp0;
  800. vec4 tmp1;
  801. vec4 tmp3;
  802. vec4 tmp2;
  803. vec4 tmp5;
  804. vec4 tmp6;
  805. vec4 tmp4;
  806.  
  807. void func0();
  808.  
  809. void main()
  810. {
  811. gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
  812. func0();
  813. gl_Position = gl_Position * scaleOffsetMat;
  814. }
  815.  
  816. void func0()
  817. {
  818. tc0 = in_pos;
  819. tc1.xy = in_tc0.xyxx.xy;
  820. tmp0.x = vc256.wwww.x;
  821. tmp0.y = vc257.wwww.y;
  822. tmp0.z = vc258.wwww.z;
  823. tmp0.w = vc259.wwww.w;
  824. tmp1.x = vc256.zzzz.x;
  825. tmp1.y = vc257.zzzz.y;
  826. tmp1.z = vc258.zzzz.z;
  827. tmp1.w = vc259.zzzz.w;
  828. tmp3.x = vc256.xxxx.x;
  829. tmp3.y = vc257.xxxx.y;
  830. tmp3.z = vc258.xxxx.z;
  831. tmp3.w = vc259.xxxx.w;
  832. tmp2.x = vc256.yyyy.x;
  833. tmp2.y = vc257.yyyy.y;
  834. tmp2.z = vc258.yyyy.z;
  835. tmp2.w = vc259.yyyy.w;
  836. tmp5 = (tmp2 * vc261.zzzz);
  837. tmp6 = (tmp2 * vc261.wwww);
  838. tmp4 = (tmp2 * vc261.yyyy);
  839. tmp2 = (tmp2 * vc261.xxxx);
  840. tmp2 = (tmp3 * vc260.xxxx + tmp2);
  841. tmp4 = (tmp3 * vc260.yyyy + tmp4);
  842. tmp6 = (tmp3 * vc260.wwww + tmp6);
  843. tmp3 = (tmp3 * vc260.zzzz + tmp5);
  844. tmp3 = (tmp1 * vc262.zzzz + tmp3);
  845. tmp5 = (tmp1 * vc262.wwww + tmp6);
  846. tmp4 = (tmp1 * vc262.yyyy + tmp4);
  847. tmp1 = (tmp1 * vc262.xxxx + tmp2);
  848. tmp1 = (tmp0 * vc263.xxxx + tmp1);
  849. tmp2 = (tmp0 * vc263.yyyy + tmp4);
  850. tmp4 = (tmp0 * vc263.wwww + tmp5);
  851. tmp0 = (tmp0 * vc263.zzzz + tmp3);
  852. gl_Position.w = vec2(dot(tmp4, in_pos), 0).xxxx.w;
  853. gl_Position.z = vec2(dot(in_pos, tmp0), 0).xxxx.z;
  854. gl_Position.y = vec2(dot(in_pos, tmp2), 0).xxxx.y;
  855. gl_Position.x = vec2(dot(in_pos, tmp1), 0).xxxx.x;
  856. }
  857.  
  858. [! : RSXThread]: *** fp shader =
  859. #version 330
  860.  
  861. in vec4 tc0;
  862. in vec4 tc1;
  863. vec4 r1 = vec4(0.0, 0.0, 0.0, 0.0);
  864. vec4 r0 = vec4(0.0, 0.0, 0.0, 0.0);
  865. vec4 rc0;
  866. uniform vec4 fc32 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  867. uniform vec4 fc64 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  868. uniform vec4 fc192 = vec4(2.000000, -1.000000, 0.000000, 0.000000);
  869. uniform vec4 fc304 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  870. uniform vec4 fc352 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  871. uniform vec4 fc384 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  872. uniform vec4 fc448 = vec4(0.000000, 0.000000, 0.000000, 17.895399);
  873. uniform vec4 fc480 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  874. uniform vec4 fc512 = vec4(0.000000, 0.000000, 0.000000, 0.000000);
  875. uniform vec4 fc560 = vec4(1.000000, 0.000000, 0.000000, 0.000000);
  876. layout (location = 1) out vec4 r2;
  877. layout (location = 0) out vec4 ocol;
  878. uniform sampler2D tex0;
  879.  
  880. void main()
  881. {
  882. r1.xyz = tc0.xyz;
  883. r0.xyz = (-r1 + fc32).xyz;
  884. r1.xyz = (-r1 + fc64).xyz;
  885. r0.w = vec2(dot(r1.xyz, r1.xyz), 0).xxxx.w;
  886. r1.xyz = (r1 / sqrt(r0.wwww)).xyz;
  887. r0.w = vec2(dot(r0.xyz, r0.xyz), 0).xxxx.w;
  888. r0.xyz = (r0 / sqrt(r0.wwww)).xyz;
  889. r2.xyz = (r1 + r0).xyz;
  890. r0.xyz = texture(tex0, tc1.xy).xyz;
  891. r0.xyz = (r0 * fc192.xxxx + fc192.yyyy).xyz;
  892. r1.w = vec2(dot(r2.xyz, r2.xyz), 0).xxxx.w;
  893. r0.w = vec2(dot(r0.xyz, r0.xyz), 0).xxxx.w;
  894. r0.xyz = (r0 / sqrt(r0.wwww)).xyz;
  895. r0.w = vec2(dot(r0.xyz, r1.xyz), 0).xxxx.w;
  896. r1.xyz = (r2 / sqrt(r1.wwww)).xyz;
  897. r1.w = fc304.xxxx.w;
  898. r0.x = vec2(dot(r0.xyz, r1.xyz), 0).xxxx.x;
  899. r1.z = max(r0.xxxx, fc352.xxxx).z;
  900. r1.x = max(r0.wwww, fc384.xxxx).x;
  901. rc0.x = r1.x;
  902. r0.x = log2(r1.zzzz).x;
  903. r0.w = (r0.xxxx * fc448).w;
  904. r0.xyz = fc480.xyz;
  905. r0.xyz = (r1.xxxx * fc512 + r0).xyz;
  906. if(all(greaterThan(rc0.xxxx, vec4(0.0)))) r1.w = exp2(r0.wwww).w;
  907. r0.w = fc560.xxxx.w;
  908. r0.xyz = (r0 + r1.wwww).xyz;
  909. ocol = r0;
  910. }
  911.  
  912. [! : RSXThread]: RSX thread exit...
  913. [!]: Closing memory...
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement