vlj
59aca7566e
d3d12: Some fixes to avoid running out of constant spaces
2015-08-12 00:26:19 +02:00
vlj
e0cff6b0b4
d3d12: Start using a ring-like buffer for constants
2015-08-12 00:26:19 +02:00
vlj
c1abf80b40
d3d12: Fix r5g6b5 only using half texture
2015-08-12 00:26:19 +02:00
vlj
5ca02a5053
d3d12: Fix R5G6B5 being byte swapped
2015-08-12 00:26:18 +02:00
vlj
d8d72c4327
d3d12: Implement R5G6B5 texture format
...
Make sonic works, but with wrong color
2015-08-12 00:26:18 +02:00
vlj
25b10c5e3e
d3d12: Consume less descriptor slot if not required
2015-08-12 00:26:17 +02:00
vlj
043adab2ce
d3d12: Fix fragment constant filling
...
The command buffer does not necessarily set them in order...
2015-08-12 00:26:16 +02:00
vlj
1c803e725b
d3d12: Do not overwrite hlsl file
2015-08-12 00:26:16 +02:00
vlj
0b435afd1d
d3d12: Fix some texture format swizzles.
2015-08-12 00:26:15 +02:00
vlj
3aafb60629
d3d12: Fix offset in scale offset
...
Depth Buffer should be correctly positionned in depth_read test
2015-08-12 00:26:15 +02:00
raven02
0be60890e7
d3d12: minor fixes
2015-08-12 00:26:14 +02:00
vlj
fdf24545af
d3d12: Raise texture upload heap to make multi texture work
...
The result is not in line with PS3 real output though
2015-08-12 00:26:14 +02:00
vlj
e454f59f97
d3d12: Fix depth buffer not being transitionned to generic read
2015-08-12 00:26:13 +02:00
vlj
aac93b9063
d3d12: Clean code + fix warnings
2015-08-12 00:26:13 +02:00
vlj
001dc7cf57
d3d12: Do not copy fbo, just use new one
2015-08-12 00:26:12 +02:00
vlj
5a57564b0c
d3d12: Forgot a hunk
2015-08-12 00:26:12 +02:00
vlj
01ac9f02d2
d3d12: Use placed resource for depth conversion result
2015-08-12 00:26:11 +02:00
vlj
2636fb457e
d3d12: Use placed resource for mrt readback
...
Should be slightly faster (no allocation)
2015-08-12 00:26:11 +02:00
raven02
28c125618a
d3d12 : add few more compressed format
2015-08-12 00:26:10 +02:00
raven02
046e522851
d3d12: Add DXT23 & DXT45
2015-08-12 00:26:10 +02:00
vlj
6877e5e3ba
d3d12: Start using heap for depth buffer readback
2015-08-12 00:26:09 +02:00
vlj
90fb4396fe
d3d12; Add a texture cache
2015-08-12 00:26:08 +02:00
raven02
d8f76f5aee
d3d12: Add LogicOp
2015-08-12 00:26:08 +02:00
vlj
f382ba0319
d3d12: Enable multiple mrt read
2015-08-12 00:26:07 +02:00
vlj
8e9cdc5fea
d3d12: Fix memleak
2015-08-12 00:26:07 +02:00
vlj
da328c078a
d3d12: Fix cube_mrt.ppu.elf
...
It should display a (single) blue cube
2015-08-12 00:26:06 +02:00
vlj
cef58da879
d3d12: Fix non mrt samples
2015-08-12 00:26:06 +02:00
vlj
595392428d
d3d12: First attempt at read color buffer using dma address change
...
If address of m_context_dma_color_a change, copy the RTT in a texture
that can be used for drawing.
Currently a bit broken, the rtt is used for others textures too...
2015-08-12 00:26:05 +02:00
vlj
3e11598941
d3d12: Fix increment size for sampler and row pitch for swizzled textures
2015-08-12 00:26:05 +02:00
vlj
262d3d0755
d3d12: Fix copyToCellRamAndRelease copy size
2015-08-12 00:26:04 +02:00
vlj
906146d8f6
d3d12: Lower memory storage
2015-08-12 00:26:04 +02:00
vlj
f12cb9b519
d3d12: Send RTTs to cell memory when a semaphore is released
2015-08-12 00:26:03 +02:00
vlj
53ac34db35
d3d12: Fix a warning
2015-08-12 00:26:03 +02:00
vlj
74dab18174
d3d12: Use graphic queue to download depth buffer
...
For now go to the easiest solution and improve later
2015-08-12 00:26:02 +02:00
vlj
af69803ee0
d3d12: Factorize resource state change
2015-08-12 00:26:01 +02:00
vlj
3a029efbd3
d3d12: Add D8R8G8B8 format to texture
...
Should fix human.ppu.elf
2015-08-12 00:26:01 +02:00
vlj
68a62f897d
d3d12: Fix texture loading for fw_fog.ppu.elf
...
Color are wrong though
2015-08-12 00:26:00 +02:00
vlj
7b571aab70
d3d12: Start supporting dxtc1 format
2015-08-12 00:26:00 +02:00
vlj
b5a7637b49
d3d12: Implement texture swizzling and untiling
2015-08-12 00:25:59 +02:00
vlj
52a68875fc
d3d12: Add some other texture case + factorise resource desc code
2015-08-12 00:25:59 +02:00
vlj
88d05a08cf
d3d12: Use a dummy texture to fill unused slots
2015-08-12 00:25:58 +02:00
vlj
79420e52a2
d3d12: Disable depth test if not required
2015-08-12 00:25:58 +02:00
vlj
f77e2acfbe
d3d12: Start supporting mrt
2015-08-12 00:25:57 +02:00
vlj
c167a1228e
d3d12: Revert back to a signel resource storage
...
Using two of them doesnt increase perf atm but eats twice the space
2015-08-12 00:25:57 +02:00
vlj
b81fd13232
d3d12: Fix double release
2015-08-12 00:25:56 +02:00
vlj
7a431e85f6
d3d12: Use copy queue to transfer z buffer
2015-08-12 00:25:56 +02:00
vlj
f618247937
d3d12: Fix format of depth texture
2015-08-12 00:25:55 +02:00
vlj
b50ab149d6
d3d12: Convert depth buffer on gpu
2015-08-12 00:25:55 +02:00
vlj
56853de0ef
d3d12: Do not bind depth stencil buffer if depth test is disabled
2015-08-12 00:25:54 +02:00
vlj
1228787355
d3d12: DMA depth buffer when semaphore write is asked.
2015-08-12 00:25:54 +02:00
vlj
b72d435ce8
d3d12: fix stencil reflect again
2015-08-12 00:25:53 +02:00
vlj
bc25f4d6ad
d3d12: Make waiting thread sleeping
2015-08-12 00:25:53 +02:00
vlj
9c193e0282
d3d12: Implement semaphore
2015-08-12 00:25:52 +02:00
vlj
c5a1f8930f
d3d12: Another fix for vertex buffer not big enough buffer
2015-08-12 00:25:52 +02:00
vlj
233450a7ca
d3d12: Fix stencil reflect test
2015-08-12 00:25:51 +02:00
vlj
8bd678afc0
d3d12: Fix vertex buffer reconstruction with mismatching stride
2015-08-12 00:25:51 +02:00
vlj
8ad1bc1970
d3d12: Fix powerOf2Align
2015-08-12 00:25:50 +02:00
vlj
10cc2c080c
d3d12: Try to reconstruct packed vertex buffers
2015-08-12 00:25:50 +02:00
vlj
2709a3e49a
d3d12: Use streaming buffer for index buffer
2015-08-12 00:25:49 +02:00
vlj
90e0a89e9b
d3d12: Try to use stream function that doesn't pollute cache
2015-08-12 00:25:49 +02:00
vlj
8b8385b0a4
d3d12: Reduce heap size
2015-08-12 00:25:48 +02:00
vlj
a6770813b1
d3d12: Fix var not initialized
2015-08-12 00:25:48 +02:00
vlj
e9fab57a0e
d3d12: Fix indexed quad draw
...
We were not positionning the index buffer correctly in the heap.
2015-08-12 00:25:47 +02:00
vlj
82545a7b56
d3d12: Clean indexed draw buffer gen code
2015-08-12 00:25:47 +02:00
vlj
22f413be3a
d3d12; Live buffer related code and factorise resource_desc for buffers
2015-08-12 00:25:46 +02:00
raven02
9814a92a25
Tex: define more sampler parameters
2015-08-12 00:25:45 +02:00
vlj
cd951af664
d3d12: Fix to run fw_vertex_attribute.ppu.elf
...
A little dirty, need to be improved.
2015-08-12 00:25:45 +02:00
vlj
2df1220144
d3d12: Use GL enum for primitive type
2015-08-12 00:25:44 +02:00
vlj
b8073b4e75
d3d12: Try to fix forced quad indexed buffer
2015-08-12 00:25:44 +02:00
vlj
232c97cc82
d3d12: Add support for indexed draw
2015-08-12 00:25:43 +02:00
vlj
5ce0261265
d3d12: Release index buffer and upload command allocator
2015-08-12 00:25:43 +02:00
vlj
bd68d382bd
d3d12: Use __mm_stream_si128 to send texture/constants data
2015-08-12 00:25:42 +02:00
vlj
12fc6e6145
d3d12: Use separate vertex constant buffer for good
2015-08-12 00:25:42 +02:00
vlj
6d61e36f5d
d3d12: Fix for rsx_fp_dynamic_test2
...
The compare function shouldn't be swizzled.
2015-08-12 00:25:41 +02:00
vlj
824b9aa628
d3d12: make depth read optionnal
2015-08-12 00:25:41 +02:00
vlj
487fd4dc2a
d3d12: Start implementing depth to u8 conversion shader
...
Not used atm
2015-08-12 00:25:40 +02:00
vlj
e88d45b1bf
d3d12: Fix for Intel HD4600
2015-08-12 00:25:40 +02:00
vlj
cb14697aa0
d3d12: Honor adaptater selection + debug output layer
2015-08-12 00:25:39 +02:00
vlj
6e8b94a7e1
Add config option for d3d debug layer and adaptater
2015-08-12 00:25:39 +02:00
vlj
18e3e74070
d3d12: Fix depth read size
2015-08-12 00:25:38 +02:00
vlj
c08ac779f4
d3d12: src and dst were inverted, fix it
...
now depth buffer is properly read, but it is too little
2015-08-12 00:25:38 +02:00
vlj
2031944792
d3d12: Do transition when reading depth buffer
2015-08-12 00:25:37 +02:00
vlj
fafcce6d5f
d3d12: Implement write depth buffer callback
2015-08-12 00:25:37 +02:00
vlj
986a39fcfb
d3d12: clean upload command lists as well
2015-08-12 00:25:36 +02:00
vlj
75202ac55b
d3d12: properly clean textures
2015-08-12 00:25:36 +02:00
vlj
1076727c75
d3d12: Use a heap for scale offset and fragment buffer too
2015-08-12 00:25:35 +02:00
vlj
740354d2c9
d3d12: Fix depth format mismatch
2015-08-12 00:25:35 +02:00
vlj
e6146e4ecb
d3d12: Fix single channel texture
...
Should now display font properly
2015-08-12 00:25:34 +02:00
vlj
4a89432d39
d3d12: Implement blend decoding
2015-08-12 00:25:34 +02:00
vlj
312ff7e8f5
RSX: Fix for default value of temp reg
2015-08-12 00:25:33 +02:00
vlj
727f54dd32
d3d12: Record command while gpu is busy rendering previous frame + cleaning fixes
2015-08-12 00:25:33 +02:00
vlj
71b9caf65a
d3d12: Duplicate all resource to do real double buffering
2015-08-12 00:25:32 +02:00
vlj
5872144165
d3d12: Move texture code to another file + add the copy command as soon as possible
2015-08-12 00:25:32 +02:00
vlj
abbd244376
d3d12: Fix fractal not animated in dynamic test 2
2015-08-12 00:25:31 +02:00
raven02
1471afcfe6
D3DGS naming fix
2015-08-12 00:25:31 +02:00
vlj
b5f91a6e75
d3d12: Fix for vertex decompiler
2015-08-12 00:25:30 +02:00
raven02
b2577833f9
d3d12: DP2A
2015-08-12 00:25:30 +02:00
vlj
31ea9068de
d3d12: Use true default value for vertex decompiler
2015-08-12 00:25:29 +02:00
raven02
9fc50fcce5
d3d12: Fix for vertex decompiler
2015-08-12 00:25:29 +02:00
vlj
a9425fcf2a
d3d12: Pass first clear value as clear optimised value to RTTs
2015-08-12 00:23:52 +02:00
vlj
eb1b8b748a
d3d12: Fix for fragment decompiler
2015-08-12 00:23:51 +02:00
vlj
f2985f12c1
d3d12: Use heap for vertex buffer
...
It should consume less memory.
2015-08-12 00:23:51 +02:00
Zangetsu38
2aedd0633f
Fix crash after launch game one mode release.
...
Fix Temporary.
2015-08-12 00:23:50 +02:00
vlj
7b25483b67
d3d12: depth read doesnt crash anymore
2015-08-12 00:23:50 +02:00
vlj
3f31976080
d3d12: Update
2015-08-12 00:23:49 +02:00
vlj
422a9f1fdc
d3d12: Use VertexProgramDecompiler
2015-08-12 00:23:49 +02:00
vlj
d2beafca4d
d3d12: Update
2015-08-12 00:23:48 +02:00
vlj
5681781ab0
GL: Forgot hunk
2015-08-12 00:23:48 +02:00
vlj
05d6c8df60
d3d12: Update
2015-08-12 00:23:47 +02:00
vlj
07449abfc6
d3d12: Add more functions
2015-08-12 00:23:47 +02:00
vlj
72c84cb8aa
d3d12: Add some more functions
2015-08-12 00:23:46 +02:00
vlj
bf8a48e3bd
d3d12: Some work to decompiler
2015-08-12 00:23:46 +02:00
vlj
c465b6699a
d3d12: Use the fragment decompile class
2015-08-12 00:23:45 +02:00
vlj
edb9a97c17
d3d12: Some fix to quad emulation mode
2015-08-12 00:23:45 +02:00
vlj
445c7dd884
d3d12: Use a default value of 1 for .w channel of output in Vertex Program
2015-08-12 00:23:44 +02:00
vlj
2985f2d6e3
d3d12: Use naive vertex buffer offset
2015-08-12 00:23:44 +02:00
vlj
a279aebf31
d3d12: Use an indexed draw for unindexed quad
2015-08-12 00:23:43 +02:00
vlj
cbd7d3d614
d3d12: Fix depth being offseted by .5 + add depth buffer support
2015-08-12 00:23:43 +02:00
vlj
5640e81eb5
d3d12: Forgot hunk
2015-08-12 00:23:42 +02:00
vlj
4114df50c2
d3d12: Use correct VS debug macro + cleaning
2015-08-12 00:23:41 +02:00
vlj
1f9c8f757a
d3d12: Add a swizzle to texture
...
Looks like shader4componentmapping doesnt work, maybe a bug.
2015-08-12 00:23:41 +02:00
vlj
3a75e6a357
d3d12: Some fixe to textures
2015-08-12 00:23:40 +02:00
vlj
39039514d1
d3d12: Start implementing texture upload and usage
2015-08-12 00:23:39 +02:00
vlj
263294d263
d3d12: Some fixes to VP/FP decompiler
2015-08-12 00:23:39 +02:00
vlj
43f4ed49b4
d3d12: Some fix for VPDecompiler
2015-08-12 00:23:38 +02:00
vlj
16e8d6349e
d3d12: Make compilation more robust
2015-08-12 00:23:38 +02:00
vlj
f1ab5abe2e
d3d12: Cleaning
2015-08-12 00:23:37 +02:00
vlj
c3e162b442
d3d12: Read constants directly from fp
2015-08-12 00:23:37 +02:00
vlj
7b6ad026c6
d3d12: Add fragment constant offset cache
2015-08-12 00:23:36 +02:00
vlj
9d1993cdee
d3d12: Fix for d3d12 pipeline cache
2015-08-12 00:23:36 +02:00
vlj
ba66992ee3
d3d12: Use template class for caching
2015-08-12 00:23:35 +02:00
vlj
a58974eac8
d3d12: Fix reversed output
2015-08-12 00:23:34 +02:00
vlj
2ac3c66c80
d3d12: Fix hash/compare/getSize for fragment program
...
It didn't properly take constants into account
2015-08-12 00:23:34 +02:00
vlj
d1ebc47867
d3d12: Use actual hw in release mode + honor vsync option
2015-08-12 00:23:33 +02:00
vlj
5cb0fe63b8
d3d12: Avoid recompiling fragment shader if constants change
2015-08-12 00:23:33 +02:00
vlj
789ed767e2
d3d12: Move Constant inside main
2015-08-12 00:23:32 +02:00
vlj
f446501339
d3d12: Try to fix fragment shaders first test
2015-08-12 00:23:32 +02:00
vlj
98a924874f
d3d12: Inline constants
...
It's slow
2015-08-12 00:23:31 +02:00
vlj
b6cc7af8cd
d3d12: Support for fragment constants
2015-08-12 00:23:31 +02:00
vlj
88aea70100
d3d12: some fix for fragment program decompiler
2015-08-12 00:23:30 +02:00
vlj
c96bc6231c
d3d12: Print fps in windows title
2015-08-12 00:23:30 +02:00
vlj
a276391e87
d3d12: Fix linkage between VS and PS
2015-08-12 00:23:29 +02:00
vlj
ee3e5cfe1f
d3d12: Support for fragment constant buffer
2015-08-12 00:23:29 +02:00
vlj
9cb87552b8
d3d12: Fragment program decompiler can decompile basic shader
2015-08-12 00:23:28 +02:00
vlj
bb643070bd
d3d12: Start working on fragment decompiler
2015-08-12 00:23:28 +02:00
vlj
5da166b26b
d3d12: Move/clean code
2015-08-12 00:23:27 +02:00
vlj
caab6cbc60
d3d12: Some cleaning
2015-08-12 00:23:27 +02:00
vlj
16f40fb69c
d3d12: Fix some warnings
2015-08-12 00:23:26 +02:00
vlj
3960555e45
d3d12: Use the compiler vertex program
...
It works with the primitive sample.
2015-08-12 00:23:26 +02:00
vlj
96c4e87bf5
d3d12: Some extra code again
2015-08-12 00:23:25 +02:00
vlj
5a1b756c14
d3d12: Dump program parameters
2015-08-12 00:23:25 +02:00
vlj
3853dffce2
d3d12: Start working on Vertex program decompilation
2015-08-12 00:23:24 +02:00
vlj
87d51665dc
d3d12: Fix some warning
2015-08-12 00:23:24 +02:00
vlj
d93e95b614
d3d12: Add support for various primitives
2015-08-12 00:23:23 +02:00
vlj
75219be066
d3d12: cache PSO State too
2015-08-12 00:23:23 +02:00
vlj
da5b047c58
d3d12: Change some variable name to better reflect their behavior
2015-08-12 00:23:22 +02:00
vlj
b016fbc9e4
d3d12: Add missing hunk + properly clean our D3D allocations
2015-08-12 00:23:22 +02:00
vlj
07ea311b3a
d3d12: Separate scaleOffset and classic constants
2015-08-12 00:23:21 +02:00
vlj
40e19e0c95
d3d12: Something strange is happening to depth...
2015-08-12 00:23:21 +02:00
vlj
411265d83a
d3d12: Use constant buffer content
2015-08-12 00:23:20 +02:00
vlj
d627f9cb83
d3d12: Stop emulation if program compilation fails
2015-08-12 00:23:20 +02:00
vlj
1c2849a736
d3d12: Remove useless class member
2015-08-12 00:23:19 +02:00
vlj
28b964aeb0
d3d12: Fix Input Layout
2015-08-12 00:23:19 +02:00
vlj
65fbc57221
d3d12: Enable constant buffer support
2015-08-12 00:23:18 +02:00
vlj
6f487f910c
d3d12: Fix build with DX12_SUPPORT not def
2015-08-12 00:23:18 +02:00
vlj
646c908a93
d3d12: Fix some warnings
2015-08-12 00:23:17 +02:00
vlj
9abaf80099
d3d12: Vertex element are not interleaved.
2015-08-12 00:23:17 +02:00
vlj
8ec9f84c1b
d3d12; Factorise IALayout generation code
2015-08-12 00:23:16 +02:00
vlj
14e9323154
d3d12: make some shape appears
2015-08-12 00:23:16 +02:00
vlj
fedd35989c
d3d12: Start writing vertex/index buffer support
2015-08-12 00:23:15 +02:00
vlj
722e6b8ac5
d3d12: Fix some warning and start adding IALayout support
2015-08-12 00:23:15 +02:00
vlj
d2889786a2
d3d12: Some cleaning
2015-08-12 00:23:14 +02:00
vlj
c6e2f070ee
d3d12: Some fix for creation of PSO
2015-08-12 00:23:14 +02:00
vlj
34bf82d81c
d3d12: Add sensible default to PSO
2015-08-12 00:23:14 +02:00
vlj
2734c98716
d3d12: PSO related reorganisation
2015-08-12 00:23:13 +02:00
vlj
e58292bb11
d3d12: PSO caching works
2015-08-12 00:23:13 +02:00
vlj
0ebc221011
d3d12: VS Caching apparently fixed
2015-08-12 00:23:12 +02:00
vlj
c29616b341
d3d12: Fragment Program caching works
...
But not VP...
2015-08-12 00:23:12 +02:00
vlj
3f24da47a0
d3d12: Update vs project files
2015-08-12 00:23:11 +02:00
vlj
d5b4a31c37
d3d12: Start caching shaders
2015-08-12 00:23:11 +02:00
vlj
728736ccdd
d3d12: Add fbo support and blit it before present
2015-08-12 00:23:10 +02:00
vlj
2f5a6eb993
d3d12: Fix gfxcommandlist leak
2015-08-12 00:23:10 +02:00
vlj
b1c3e09155
d3d12: Clean backbuffers and descriptors
2015-08-12 00:23:09 +02:00
vlj
7773631401
d3d12: backbuffer are properly cleared
2015-08-12 00:23:09 +02:00
vlj
5e7531b9bf
d3d12: Use ifdef to guard code
2015-08-12 00:23:08 +02:00
vlj
4f708ab9ee
d3d12: Enable buffer flip
2015-08-12 00:23:08 +02:00
vlj
0b5816d6d6
d3d12: Create window
2015-08-12 00:23:07 +02:00
vlj
976d707596
d3d12: Start implementation
2015-08-12 00:23:07 +02:00
Raul Tambre
d10c44ed3a
Merge pull request #1175 from danilaml/appveyor-cmake
...
Make it possible to compile rpcs3 on win via cmake and make win builds available for download on appveyor
2015-08-11 20:44:22 +03:00
Vincent Lejeune
e459d01927
PPU/LLVM: Add debug tool for LLVM recompiler
2015-08-11 18:10:32 +02:00
Vincent Lejeune
6e8a5f3a5f
PPU/LLVM: Avoid recompiler thread spinning forever
2015-08-10 20:32:22 +02:00
Vincent Lejeune
53769ae1bd
PPU/LLVM: Fix recursive call crashing llvm backend
2015-08-10 19:59:30 +02:00
Danila Malyutin
1af7e32c93
Fix LNK4098 warning
2015-08-10 01:59:04 +03:00
Danila Malyutin
570e41f8e0
Small fixes and improvments
2015-08-10 01:59:03 +03:00
Raul Tambre
fd5fbab115
Merge pull request #1171 from vlj/llvm-fix
...
Fix Sonic CD music with LLVM backend
2015-08-08 18:35:29 +03:00
Danila Malyutin
ddff65d288
Make it possible to build rpcs3 via cmake/vs2015 combo.
2015-08-08 04:43:08 +03:00
Danila Malyutin
36648805b8
Update OpenAL
2015-08-08 04:43:06 +03:00
Danila Malyutin
fafdc213ed
Fix OpenAL and and wxWidgets finding on cmake/win
2015-08-07 18:30:08 +03:00
Raul Tambre
8fd52666b7
Minor fixes in cellNetCtl and cellSysutil
...
Also fixed a couple minor bugs relating to cache.
2015-08-06 15:24:11 +03:00
Raul Tambre
48def8fa5b
Minor sceNpManagerGetStatus improvements
...
Might allow a couple games to go in-game. Also a couple other minor fixes.
2015-08-06 15:24:10 +03:00
Raul Tambre
480996b140
Various stubbing
2015-08-06 15:24:10 +03:00
Raul Tambre
1012a3e312
Minor cellSysutil improvements, cellNetCtl fixes
2015-08-06 15:24:09 +03:00
Raul Tambre
c69dfff16e
cellNetCtlGetInfo improvements and fixes
2015-08-06 15:24:09 +03:00
Raul Tambre
c12af57bdd
Implement _sys_printf and sys_prx improvements
2015-08-06 15:24:08 +03:00
Raul Tambre
91f67b683b
sceNpMatching2 stubs and some refactoring
2015-08-06 15:24:04 +03:00
Danila Malyutin
a3c22eb836
Add MTOCRF tests
2015-08-06 03:43:49 +03:00
Danila Malyutin
98a3cbdf84
Fix MTOCRF instruction
...
to be the same as interpreter.
2015-08-06 03:43:48 +03:00
Vincent Lejeune
09347ba92a
PPU/LLVM: Fix MTOCRF instruction
2015-08-05 17:27:59 +02:00
Vincent Lejeune
fc3314ea96
PPU/LLVM: Print PPC block before translated LLVM bytecode
2015-08-05 17:27:59 +02:00
Hykem
0541371a0e
Merge pull request #1161 from Nekotekina/master
...
Various changes
2015-08-02 16:54:27 +01:00
Hykem
7aa86c50c6
Merge pull request #1167 from vlj/llvm36
...
PPU/LLVM: Try to fix crash (again) when cleaning modules
2015-08-02 16:54:12 +01:00
Nekotekina
6da5138683
sysPrxForUser module split
2015-08-02 05:15:49 +03:00
Danila Malyutin
eac63f7265
Fix crashes in tests with unresolved "func" errors
...
and uncomment fixed tests
2015-08-02 04:16:44 +03:00
Danila Malyutin
8f00342612
Log stdout and stderr on win
...
(Some modules like llvm can repport errors to stderr).
2015-08-02 04:06:59 +03:00
Vincent Lejeune
8f490e8ecd
PPU/LLVM: Try to fix crash (again) when cleaning modules
2015-08-01 21:56:44 +02:00
Nekotekina
8fcaac5f1d
cellSysutil crap split, cleanup, functions added
2015-08-01 21:49:01 +03:00
Nekotekina
0b1e45b6b5
Some functions added
2015-08-01 14:39:43 +03:00
Nekotekina
ce9cd13e42
cellL10n, cellRtc, cellSail cleanup
2015-08-01 14:39:41 +03:00
Nekotekina
b391e93466
Modules cleanup
2015-08-01 14:39:39 +03:00
Nekotekina
a2646f9871
ModuleManager cleanup
2015-08-01 14:39:37 +03:00
Nekotekina
eb5974322f
cellStorage.cpp, cellVideo(Export|Upload) modules
2015-08-01 14:39:35 +03:00
Nekotekina
137a38b3c6
cellRec, cellRemotePlay, cellSysconf
2015-08-01 14:39:33 +03:00
Nekotekina
08b6428d5c
cellPrint module added
2015-08-01 14:39:31 +03:00
Nekotekina
2eaf5cdc01
cellOskDialog, cellPhoto(Decode|Export|Import)
2015-08-01 14:39:29 +03:00
Nekotekina
7361b4e079
cellImeJp, cellMusic(|Decode|Export), cellSysutilMisc
2015-08-01 14:39:28 +03:00
Nekotekina
c364c6a787
cellGameExec, cellAvconfExt, cellSysutilAvc2 modules
2015-08-01 14:39:26 +03:00
Nekotekina
16ad4936ee
atomic.h fixed
2015-08-01 14:39:24 +03:00
Nekotekina
776eafa0ce
cellDaisy, cellSpudll modules
2015-08-01 14:39:22 +03:00
Nekotekina
9b928ee835
cellPngEnc, cellSailRec, cellUsbPspcm modules
2015-08-01 14:39:20 +03:00
Nekotekina
ae73330314
cellJpgEnc, cellKey2char, cellSheap added
...
ModuleManager cleanup
2015-08-01 14:39:18 +03:00
Nekotekina
5a9896c78c
cellHttp, cellHttpUtil, cellSsl, cellBGDL added
2015-08-01 14:39:16 +03:00
Nekotekina
13a5a96117
cellCelp8Enc, cellCelpEnc module added
2015-08-01 14:39:14 +03:00
Nekotekina
06ef95fbea
File/dir descriptors numbering experimental impl
2015-08-01 14:39:12 +03:00
Nekotekina
badeb29901
Minor fixes
2015-08-01 14:39:10 +03:00
Nekotekina
02c0b69adb
cellSaveData module added
2015-08-01 14:39:08 +03:00
Nekotekina
3cc0383db7
cellAtracMulti stub added
2015-08-01 14:39:06 +03:00
Nekotekina
a12220d234
Minor formatting fix
2015-08-01 14:39:04 +03:00
Nekotekina
25056f49c4
Added on_error handler for Module
2015-08-01 14:39:03 +03:00
Nekotekina
5815d90eb4
Minor formatting fix, cellRudp fix
2015-08-01 14:39:01 +03:00
Nekotekina
16b7d204d2
decode_x64_reg_op: MOVUPS support
2015-08-01 14:38:59 +03:00
Nekotekina
8e1991c1e1
semaphore_t, RSX fixes
...
1) GS_LOCK_WAIT_FLUSH semaphore eliminated
2) GS_LOCK_WAIT_FLIP semaphore left unused
3) cellRescSetWaitFlip/cellGcmSetWaitFlip purged: they don't wait for
flip, it's a nonsense, they only generate some RSX command
4) Semaphores rewritten
2015-08-01 14:38:57 +03:00
Nekotekina
71a378a3fb
vm::wait_op improved
...
Now it accepts thread_t and its descendants (but may require adding
friend vm::waiter_lock_t class)
2015-08-01 14:38:55 +03:00
Nekotekina
ff1f6d3d4f
PPUInterpreter formal fix (affects nothing)
2015-08-01 14:38:53 +03:00
Nekotekina
3d665148ca
cellMsgDialog race condition fixed
2015-08-01 14:38:51 +03:00
Nekotekina
be2f993155
func_def eliminated
2015-08-01 14:38:49 +03:00
Nekotekina
31774b7262
atomic.h, sys_cond/sys_lwcond improved
2015-08-01 14:38:47 +03:00
Nekotekina
ffc11bfda3
b8 type
2015-08-01 14:38:45 +03:00
KaOs1
804ee1183b
Install PKGs into custom folder
2015-07-31 22:15:07 +02:00
darkf
2f8a41d810
sys_net: Implement socketselect
2015-07-28 04:43:35 -07:00
Danila Malyutin
9a37acee3e
Fixes for abstract class without virtual destructor
2015-07-27 03:01:43 +03:00
Danila Malyutin
e0d5cdd5e1
Fixes for trigraph, unused and tautological warning.
2015-07-26 23:48:59 +03:00
Danila Malyutin
582329ffc6
Fixes for some of clang warnings
2015-07-26 23:24:37 +03:00
Danila Malyutin
5ae6586803
Add missing override specifiers
2015-07-26 18:37:14 +03:00
Danila Malyutin
e810eabd32
Clean up and fixes
2015-07-26 18:09:33 +03:00
Danila Malyutin
6849192b39
Tabify
2015-07-26 18:09:31 +03:00
Danila Malyutin
6832910187
Update llvm tests to work with new mcjit recomp
...
WIP, also found some offending instructions with it.
2015-07-26 18:09:29 +03:00
Raul Tambre
a239eaf630
cellSpurs additions and internal struct refactoring
...
Also updated the README.
2015-07-26 17:04:10 +03:00
Raul Tambre
14897b23b7
Minor formatting
2015-07-26 16:44:55 +03:00
Raul Tambre
6ef4cecf57
Split sceNp into sceNpUtil and register sceNpClans
2015-07-26 16:44:10 +03:00
Raul Tambre
7b0b0440ef
cellFont cleanup
2015-07-26 16:43:35 +03:00
Raul Tambre
45dda65ce9
Add NV4097_SET_TEX_COORD_CONTROL arguments
...
Also added a TODO for _cellSpursLFQueueInitialize.
2015-07-26 16:42:02 +03:00
Raul Tambre
9ecedfdf3c
Better cellNetCtlGetInfo logging
...
Also added back some more logging in cellSaveData, but this time only
printed as warnings.
2015-07-26 16:34:11 +03:00
Zangetsu38
e47493e81b
Some small change.
...
Update README.md for VS 2015.
remove sln buildbot
remove unused appveyor config
remove package.bat, no longer current, now found in bigpet/rpcs3-buildbot-tools
2015-07-23 15:05:23 +02:00
Peter Tissen
4624377942
use official wxWidgets repo
2015-07-23 12:17:58 +02:00
Danila Malyutin
831858ce7e
Change jit to mcjit in CMakeLists
...
This fixes compiling on linux
2015-07-23 10:46:12 +03:00
vlj
26f6b89530
PPU/LLVM: Remove duplicate m_address_to_ordinal map and improve cleaning
2015-07-22 02:11:00 +03:00
vlj
501c14fc65
PPU/LLVM: Clean code
...
Replace auto with real type, reduce indent and useless variables...
2015-07-22 02:10:58 +03:00
vlj
4adb9a2683
PPU/LLVM: Do not cache block
2015-07-22 02:10:57 +03:00
vlj
abd61538ea
PPU/LLVM: Rename ExecutionEngine to CPUHybridDecoderRecompiler
...
In order to avoid naming conflict with llvm own ExecutionEngine
2015-07-22 02:10:55 +03:00
vlj
7592b87a90
PPU/LLVM: Fix build
2015-07-22 02:10:54 +03:00
Nekotekina
b3dfa4f5a2
VS2015
2015-07-22 02:10:14 +03:00
Peter Tissen
ecf78dbafe
add various temporary VS2015 changes (some to fixup temporary bugs, don't merge)
2015-07-22 01:32:21 +03:00
vlj
cfa0079c3d
PPU/LLVM: Fix branch detection
...
Thanks Nekotekina for the fix
2015-07-22 01:32:19 +03:00
Vincent Lejeune
b7d5d70a92
PPU/LLVM: Fix for callback spinning undefinitly
...
Thanks for Nekoteki for the fix
2015-07-22 01:32:18 +03:00
Nekotekina
cdf38d15d2
sys_lwmutex, sys_lwcond syscalls improved
2015-07-21 23:14:42 +03:00
Nekotekina
6462201aac
Some macro removed
2015-07-21 23:14:41 +03:00
Nekotekina
023d385af8
sys_semaphore improved
2015-07-21 23:14:39 +03:00
Nekotekina
0aefaec46e
sys_event improved, some unnamed functions named
2015-07-21 23:14:38 +03:00
Nekotekina
6019e02457
sys_rwlock improved
2015-07-21 23:14:36 +03:00
Nekotekina
6255f3b07d
sys_event_flag improved
2015-07-21 23:14:34 +03:00
Nekotekina
bc91ad0f4d
sys_event improved
2015-07-21 23:14:33 +03:00
Nekotekina
2f7fe35f5c
Minor style change
2015-07-21 23:14:31 +03:00
Nekotekina
8175630619
sys_cond/sys_mutex improved
2015-07-21 23:14:29 +03:00
Nekotekina
43d3ccce95
SPU Channels improved
2015-07-21 23:14:28 +03:00
Nekotekina
9913c9059c
Very bugfix
...
I reverted cellSaveData changes since they were relying on the
uninitialized local variable `save_entry` and thus were almost
completely wrong.
2015-07-21 23:14:26 +03:00
Nekotekina
5bd83516ba
SPU Interrupt Enable Status implemented
...
SPU Interrupts are still NOT implemented
2015-07-21 23:14:25 +03:00
Nekotekina
1519a2b468
Exceptions passed to wait_op caller
2015-07-21 23:14:23 +03:00
Nekotekina
a7668ff57f
SPU_EVENT_LR improved
2015-07-21 23:14:22 +03:00
Nekotekina
1e021cdbba
waiter_map reintroduced, combined with vm
2015-07-21 23:14:20 +03:00
Nekotekina
a8fcf71f9c
Minor bugfix, cleanup
2015-07-21 23:14:04 +03:00
Nekotekina
3bc6c53eb3
sys_interrupt improved
2015-07-18 03:12:10 +03:00
Nekotekina
b8a27d8a4c
Silly bugs fixed
2015-07-18 03:12:08 +03:00
Nekotekina
48c75105e2
"Memory" eliminated
2015-07-18 03:12:06 +03:00
Raul Tambre
5f43360711
Fix Travis compiling
2015-07-16 21:36:06 +03:00
Raul Tambre
67e647a2ca
sys_net and cellRudp fixes
2015-07-16 20:28:47 +03:00
Raul Tambre
746be46f1e
Huge improvements to cellNetCtlGetInfo
2015-07-16 17:09:42 +03:00
Raul Tambre
6305d4edf9
Minor savedata fix and cellSail callback fixes
2015-07-16 14:31:59 +03:00
Raul Tambre
6beec80b60
Draft socketselect, other minor fixes
2015-07-15 16:21:41 +03:00
Raul Tambre
82733e1943
cellRudp improvements and fixes
2015-07-15 11:52:20 +03:00
Raul Tambre
2e3113b5f2
Fix Travis compiling
2015-07-14 18:59:10 +03:00
Raul Tambre
80b544aa78
Add sceNp2 and some sceNpMatching2 functions
2015-07-14 15:07:23 +03:00
Raul Tambre
ddcaf4972f
Better fix for savedata and cellCamera improvements
2015-07-14 14:45:31 +03:00
Raul Tambre
66cf864ee0
Fix saving and some more logging
...
Fixes Shin Hayarigami (BLJS10279).
2015-07-13 22:06:16 +03:00
Hykem
3896c39ceb
Update MainFrame.cpp
...
Use _WIN32 instead of __WINDOWS__
2015-07-11 12:29:47 +01:00
Hykem
916967a7d7
Merge pull request #1140 from danilaml/linux-icon-fix
...
Fix for icons on OSes other than Windows. Small fixes for travis
2015-07-11 12:27:32 +01:00
Danila Malyutin
7795305c9f
Fix for icons on OSes other than Windows. Small fixes for travis
...
Didn't test. Also added memory monitoring to travis.
2015-07-11 04:46:27 +03:00
Nekotekina
06dacf04b5
Log style fix
2015-07-11 02:38:40 +03:00
Nekotekina
2d37c6b5e2
sys_memory, sys_mmapper rewritten
...
LogBase::Fatal() removed
2015-07-10 20:37:12 +03:00
Nekotekina
39629c5c7a
IdManager collision threat fix
2015-07-10 04:31:43 +03:00
Nekotekina
4bacfcf847
sys_lv2dbg added, bugfix
2015-07-10 04:31:41 +03:00
Nekotekina
daa93a7226
ARMv7 func binder improved (faster compilation)
2015-07-10 04:31:39 +03:00
Nekotekina
096fc86f17
SC_FUNC improved (faster compilation)
2015-07-10 04:31:37 +03:00
Nekotekina
82781e620a
Small fixes
2015-07-10 04:31:36 +03:00
Nekotekina
c0f13f7084
sleep_queue_t rewritten, used in sys_cond/sys_mutex
...
Some synchronization fixes
2015-07-10 04:31:34 +03:00
Nekotekina
eafddd9e33
CPUThread fixes, thread_t cleanup
2015-07-10 04:31:32 +03:00
Nekotekina
83321c5be7
sys_time_get_current_time fixed, CALL_FUNC draft
2015-07-10 04:31:30 +03:00
Nekotekina
22e1da5e76
Minor cleanup
2015-07-10 04:31:29 +03:00
Nekotekina
3064cf8101
CHECK_EMU_STATUS, autojoin_thread_t
2015-07-10 04:31:27 +03:00
Nekotekina
8f9e1100c8
SPU fixes, various fixes
2015-07-10 04:31:25 +03:00
Nekotekina
721ad404d2
VM_CAST macro
2015-07-10 04:31:23 +03:00
Nekotekina
8c00dcd02d
Bugfix
2015-07-10 04:31:21 +03:00
Nekotekina
32d3d1fbe5
EXCEPTION() macro usage, sceNpTrophy improved
2015-07-10 04:31:20 +03:00
Nekotekina
6f1e76198a
Some fixes
2015-07-10 04:31:18 +03:00
Nekotekina
3aefa2b4e1
ThreadBase rewritten (wip)
2015-07-10 04:31:16 +03:00
Nekotekina
b7a320fbbd
cellCamera fix
2015-07-10 04:31:14 +03:00
Nekotekina
ec68e012f9
vm::var replaced, atomic_op simplified
2015-07-10 04:31:12 +03:00
Nekotekina
c598fe7aa9
atomic_op() rewritten, atomic.h refactoring
...
cellSync refactoring, wait_op() rewritten, bugfixes
2015-07-10 04:31:10 +03:00
Nekotekina
39f836b495
re32/se32/... macro eliminated, some fixes
2015-07-10 04:31:09 +03:00
Nekotekina
ef6f9f6ded
be_t constructor implemented, make() eliminated
...
be_t enums are forbidden, le_t improved, some operators cleaned.
2015-07-10 04:31:07 +03:00
S Gopal Rajagopal
a800d21a31
SPURS: Fix some bugs
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
2015-07-10 04:31:05 +03:00
S Gopal Rajagopal
fe67504ffc
SPURS: Use atomic ops to implement some portions of event flags and trace
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
2015-07-10 04:31:03 +03:00
S Gopal Rajagopal
dc92a79fcc
SPURS: Implement some core functions
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
2015-07-10 04:31:01 +03:00
Nekotekina
714da1aa7c
vm::var fix, vm::ptr improved
...
GetCurrentPPUThread() removed
2015-07-10 04:31:00 +03:00
S Gopal Rajagopal
46e4f2d48c
SPURS: Implement some portions of spurs initialization
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
rpcs3/Emu/SysCalls/lv2/sys_event.cpp
rpcs3/Emu/SysCalls/lv2/sys_event.h
rpcs3/Emu/SysCalls/lv2/sys_lwmutex.cpp
rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h
rpcs3/Emu/SysCalls/lv2/sys_semaphore.cpp
rpcs3/Emu/SysCalls/lv2/sys_semaphore.h
rpcs3/Emu/SysCalls/lv2/sys_spu.cpp
rpcs3/Emu/SysCalls/lv2/sys_spu.h
2015-07-10 04:30:58 +03:00
S Gopal Rajagopal
5b7f701878
SPURS: Implement SPURS SPU thread exit using throw
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
2015-07-10 04:30:56 +03:00
Nekotekina
c0fdef7a12
Small fix
2015-07-10 04:30:54 +03:00
Nekotekina
317417d541
vm::cptr/bcptr/lcptr used widely for const pointers
2015-07-10 04:30:53 +03:00
Nekotekina
e896da8064
Added .aligned() method for vm::ptr
...
Added set_alignment() macro for setting alignment
Added alignof32() macro similar to sizeof32()
Added CHECK_SIZE, CHECK_ALIGN macro with static_assert
Minor refactoring
2015-07-10 04:30:51 +03:00
Nekotekina
a7f77c27f7
ARMv7Context used through multiple inheritance
...
Forgive me...
2015-07-10 04:30:49 +03:00
Nekotekina
6c4148a949
Bugfix
2015-07-10 04:30:47 +03:00
Nekotekina
bc9481db1b
PSV modules refactoring
2015-07-10 04:30:45 +03:00
Nekotekina
8229c0ed3d
Compilation fix
2015-07-10 04:30:43 +03:00
Nekotekina
edb9595721
Using vm::ps3 namespace moved in proper places
...
Various fixes
2015-07-10 04:30:41 +03:00
Nekotekina
7eacfe19f6
vm::ptr fixes
...
std::function conversion removed (since it's convertible anyway),
pointer difference return type changed
vm::cptr, vm::bcptr aliases added
2015-07-10 04:30:39 +03:00
Nekotekina
63c5b2ab32
sys_fs_open() O_APPEND support
...
Added vm::static_ptr_cast, vm::const_ptr_cast, vm::reinterpret_ptr_cast
Added pointer comparison with vm::null
2015-07-10 04:30:37 +03:00
Danila Malyutin
e338c3938b
Trying to fix potential resource leak
2015-07-10 04:26:59 +03:00
Danila Malyutin
8483b17995
Initialize pointers to null on creation
...
Fixes access violation in hello_world.ppu.elf on window close.
As I understood the reason - when dtor of XAudioThread is called it
checks:
if (m_source_voice) Quit();
But m_source_voice isn't initialized to 0 by default so when in Quit()
in tries to call some funcs from unitialized ptrs and access violation
happens.
2015-07-10 04:26:57 +03:00
Danila Malyutin
6ce793d582
Deleted unneeded xaudio #ifs
...
There is no improvement in 2.8 and on my setup (8.1 x64) it always
preferred minidx headers anyway (so it'd still load 2.7 dll).
2015-07-10 04:26:56 +03:00
Danila Malyutin
ee2940c159
Swapped buttons positions in about dialog
...
It's much more intuitive (and common) to have OK in the bottom-right
corner.
2015-07-10 04:26:54 +03:00
Raul Tambre
f272171099
Re-do network status and add it to settings
2015-07-09 20:42:39 +03:00