Commit graph

9756 commits

Author SHA1 Message Date
Hykem
d86c33c09e Merge pull request #1111 from danilaml/improve-llvm-tests
Make ppuJIT test log more compact and easier to read
2015-06-08 18:41:13 +01:00
vlj
02594c8239 RSX: Fix index gathering 2015-06-08 18:11:51 +02:00
Danila Malyutin
ee715d9d36 Make ppuJIT testlog more compact and easier to read 2015-06-02 23:11:46 +03:00
raven02
f2c5dc2b5c RSX: simplify resolution rescale 2015-05-31 18:35:15 +08:00
raven02
e6df1ddcc0 Fix CELL_GCM_TEXTURE_CLAMP
It should be GL_CLAMP
2015-05-29 21:59:51 +08:00
DHrpcs3
39e679806b Implemented some sys_prx syscalls
Fixed vm::ptr

Conflicts:
	Utilities/BEType.h
	Utilities/StrFmt.cpp
	rpcs3/Emu/Memory/vm_ptr.h
	rpcs3/Emu/SysCalls/lv2/sys_prx.cpp
	rpcs3/Emu/SysCalls/lv2/sys_prx.h

Cherry-picked commit "Implemented some sys_prx syscalls"
2015-05-29 04:34:30 +03:00
Nekotekina
b84d831d8f MFF_NO_RETURN flag introduced 2015-05-29 01:49:50 +03:00
Nekotekina
a70d305806 IdManager fix 2015-05-28 22:13:35 +03:00
Nekotekina
0724a9efa2 printf_alike removed 2015-05-28 18:28:34 +03:00
Nekotekina
74e13a4ef6 Compilation fix 2015-05-28 18:23:11 +03:00
Nekotekina
78fdcf75e7 Attribute macro changed
__forceinline -> force_inline
__noinline -> never_inline
printf_alike(x,y) added
2015-05-28 18:14:22 +03:00
Nekotekina
f83306b0bf Fix 2015-05-27 15:49:54 +03:00
Nekotekina
26e5a07905 Fix 2015-05-27 13:55:15 +03:00
Nekotekina
2823953489 Compilation fix 2015-05-27 12:51:25 +03:00
Nekotekina
22b78fec71 IdManager improved, atomic_t improved
Various changes
2015-05-27 06:11:59 +03:00
Nekotekina
cdf70e0b77 Compilation fix 2015-05-25 22:11:55 +03:00
Nekotekina
98aee31c5a refcnt.h removed 2015-05-25 21:12:53 +03:00
vlj
2dbac65613 GL: Fix output swizzling for fog and clip distance 2015-05-24 17:09:05 +02:00
B1ackDaemon
dcad0e286a Merge pull request #1092 from Bigpet/localdev
Change `GetDeviceLocal` device selection
2015-05-24 02:09:51 +03:00
raven02
2d6dd873cd FP: RSQ instruction alternative 2015-05-23 20:45:12 +02:00
raven02
f98b03b61f VP: use getFloatTypeName() with compare instructions 2015-05-23 20:45:11 +02:00
raven02
eac5147a45 FP: fix SFL instruction 2015-05-23 20:45:11 +02:00
raven02
bebd437a7e RSX: use getFloatTypeName 2015-05-23 20:45:10 +02:00
Vincent Lejeune
669a54d071 GL: Factorise getFloatTypeName, getFunction and compareFunction between Fragment and Vertex Decompiler 2015-05-23 20:45:10 +02:00
raven02
79cb025d25 RSX : factorize DPH 2015-05-23 20:45:09 +02:00
raven02
67e8e0a367 RSX: DP2A for fragment decompiler 2015-05-23 20:45:09 +02:00
raven02
f961a2e3b4 GL: fix IFE instruction 2015-05-23 20:45:08 +02:00
vlj
df794b88b0 GL: Use decompiler common class 2015-05-23 20:45:08 +02:00
vlj
2416d49dba RSX: Add a class factorizing decompiler code 2015-05-23 20:45:07 +02:00
B1ackDaemon
2a6f11b390 Merge pull request #1089 from vlj/gl
Store Vertex/Fragment program in a hashtable and do not rebuilt FP if a constant changes
2015-05-23 02:53:48 +03:00
Vincent Lejeune
7a5c8dd586 GL: Remove unused calls to glGetError() 2015-05-22 19:43:32 +02:00
Syphurith
5a6869fc5e Renamed LogSeverity Symbols, like.. LogSeveritySuccess from Succuess to avoid conflicts with macros such as those in X11 header. 2015-05-22 20:16:30 +08:00
B1ackDaemon
d5ead0d315 Merge pull request #1091 from vlj/shader-fix
gl: Fix swizzle for DIVRSQ, COS, SIN in fragment shader
2015-05-21 19:13:46 +03:00
raven02
d0c2addf91 gl: Fix IFE instruction
This fixes the rsx_fp_static_test4.ppu.elf
2015-05-21 22:34:51 +08:00
Peter Tissen
0b0c8723eb Change GetDeviceLocal device selection
For `GetDeviceLocal` only consider a device if the full path to the device
matches the first part of the path to match.

The issue was that putting in a file that was not in a sub-path of an existing
mounted device failed. So if the rpcs3 devices are in
D:\DEV\rpcs3\bin and you open D:\DEV\ps3autotests\tests\rsx\primitives\primitives.ppu.elf
it would return
/dev_usb000/ps3autotests\tests\rsx\primitives\primitives.ppu.elf
which resolves to
D:/DEV/rpcs3/bin/dev_usb000/ps3autotests/tests/rsx/primitives/primitives.ppu.elf
and is wrong.

Correct are either /dev_usb000/../../../ps3autotests\tests\rsx\primitives\primitives.ppu.elf
or /hostfs/D:\DEV\ps3autotests\tests\rsx\primitives\primitives.ppu.elf

I chose to resolve without the ".." beyond root, since that just seems wrong
(so it will now return the hostfs version).

Fixes #1090
2015-05-21 10:45:40 +02:00
vlj
d58188d7ba gl: Fix swizzle for DIVRSQ, COS, SIN, EXP2, LOG2 in fragment shader
This fix rsx_fp_static_test2.ppu.elf, rsx_fp_static_test3.ppu.elf, rsx_fp_static_test5.ppu.elf.
Likely rsx_fp_dynamic_test2.ppu.elf too
2015-05-20 19:31:21 +02:00
vlj
2a7c65c019 GL: Use pipeline cache 2015-05-19 17:26:06 +02:00
vlj
145f411324 RSX: Add a template class that helps caching programs. 2015-05-19 17:26:05 +02:00
Nekotekina
3ae43edc3e cellFs fix 2015-05-09 01:36:15 +03:00
Nekotekina
8cf62e560e Compilation fix 2015-05-08 18:42:35 +03:00
Nekotekina
f92c10ef71 Minor fixes 2015-05-08 12:45:21 +03:00
Nekotekina
ff359ed118 SPU Interpreter2 initialization fix 2015-04-26 01:56:58 +03:00
Nekotekina
9cfdce91a1 vfsDir usage fixed 2015-04-26 00:26:54 +03:00
Nekotekina
02ca97804e fs::dir implemented, bugfixes 2015-04-25 22:15:53 +03:00
Hykem
d18d19870f Merge pull request #1062 from Nekotekina/master
SPURecompiler improved
2015-04-25 19:32:47 +01:00
Nekotekina
c5737d01c6 Logging fixed
Now it displays messagebox if logging system isn't initialized.
Otherwise it could cause stack overflow.
2015-04-25 16:29:05 +03:00
Nekotekina
5d6d058965 Fix 2015-04-25 01:18:12 +03:00
Nekotekina
74b3580b69 rfile_t renamed 2015-04-25 00:38:11 +03:00
Nekotekina
b449545ae0 Compilation fix 2015-04-24 18:12:40 +03:00
Nekotekina
ed6fb7cc43 o_append implemented 2015-04-24 17:06:30 +03:00