kd-11
973bf5abdf
gl: Disable overlay if required extension is not supported ( #2212 )
2016-10-20 11:20:45 +08:00
Yishuai Li
80a9abcfc8
fix type conflict with macOS ( #2157 )
2016-10-20 03:42:14 +03:00
kd-11
2c803dbe66
gl/vk: Bug fixes and improvements ( #2206 )
...
* gl: Only bind attrib textures on thread startup
* gl: Persistent mapped buffers
* gl: Fix emulated primitives in an inlined array
* gl: Do not re-update program information every draw call
* gl/vk: s1 type is signed normalized not unsigned normalized
* gl/rsx: Allow disabling of persistent buffers for debugging
gl: Large heap size is more practical
gl: Fix a bug with legacy opengl buffers
* gl/rsx: Allow emulation of unsupported attribute formats
* gl: Fix typos and remove dprints
gl: cleanup debug prints
* ui: Move the GL legacy buffer toggle to the left pane
* vk/gl: Fix cmp type, its range is [-1,1] not [0,1] SNORM_INT
2016-10-18 15:57:28 +08:00
kd-11
8454949eea
gl/vk/rsx: Add a cross-platform overlay text; Minor perf improvements and rsx bugfixes ( #2196 )
...
* gl/rsx: Implement platform-agnostic text overlays
gl: Restore performance metrics using new text out helper
gl/rsx: Refactor text generation class
* vk: Enable text overlay
gl/vk: Polish overlay counters implementation
gl: Better resource shutdown for text writer
* gl: Optimization, do not rebind TIUs every frame. Speedup
* gl: Optimizations and improvements to vertex upload code
* gl/vk: Texture format swizzles
vk: Texture format fix
vk: Fix YX format swizzles
* rsx: Decode vertex texture index
2016-10-11 08:55:42 +08:00
kd-11
7a9841bb2a
gl/vk/dx12: Fix depth reconstruction bug; Fix sampler parameters ( #2188 )
...
vulkan: Fix duplicated code bug
fix rebase
2016-10-04 21:51:40 +08:00
Melissa Goad
22b1400018
Revamp PFIFO command submission emulation ( #2179 )
2016-10-01 22:13:15 +03:00
raven02
44b8556dc6
Vulkan: fix G8B8 texture swizzle ( #2181 )
2016-10-01 17:02:10 +08:00
kd-11
1c9718389f
gl/vk: Vertex attribute uploading and texture swizzle fixes ( #2174 )
...
* gl/vk: Properly upload vertex attributes
* vk: Fix cmp type
* vk: Remap all texture formats
2016-09-29 15:16:00 +08:00
kd-11
5430e1d310
rsx/gl/vk/dx12: Add emulated texture fetch for depth read ( #2173 )
...
* rsx/gl/vk/dx12: Add emulated texture fetch for depth read
gl/vk/dx12: Simplify reinterpretation equation
* gl: Remove unnecessary re-swizzle
* glsl: explicitly cast uint to float
2016-09-29 14:54:32 +08:00
kd-11
9abb908226
vk: Add a subpass dependancy ( #2172 )
2016-09-28 22:12:52 +08:00
kd-11
38562155d4
gl/vk: Flip wpos if origin != top
2016-09-28 07:22:45 +08:00
kd-11
4f74cbe510
gl: Reverse cull face when origin == top ( #2161 )
2016-09-27 15:34:01 +08:00
raven02
528b2d6c7b
GL/Vulkan: not discard fragment when hits NEVER comparsion ( #2156 )
...
GL/Vulkan: return no operation when comparison is never
2016-09-26 21:59:38 +08:00
kd-11
7884356e90
gl/vk: Bug fixes and improvements ( #2155 )
...
* gl: Fix broken buffer reserve computation
* gl: Texture format fixes
* gl: Two sided lighting
* gl: Always update glsl output registers
* gl: Simplify vertex input declaration
* vk: Always write output registers
* vk/gl: swizzle component read on depth textures
* gl/vk: Use proper MVP matrix
gl: fix broken mvp when window_origin=top
* vk/gl: Move fragment operations block into the proxy function
2016-09-26 20:21:17 +08:00
raven02
38f35df7b6
DX12: enable alpha kill ( #2158 )
2016-09-26 18:38:52 +08:00
raven02
fcb853792d
Typo fix ( #2153 )
2016-09-25 16:53:57 +08:00
Oil
b72f6da853
Porting of DH's user clip implementation in gl ( #2139 )
...
* Porting of DH's user clip implementation in gl
* Tweak clang-format
* rsx: Move inline array to draw_clause structure.
* rsx: Use variant based draw commands.
* rsx: Dump DRAW_ARRAYS and DRAW_INDEX_ARRAYS.
* GL: old recompiler clean up (#2142 )
* RSX texture refactor (#2144 )
* gl/vk: Enable vertex texture fetch (#2127 )
* gl: Enable vertex textures
* rsx: use textureLod instead of generic texture sample
* rsx: handle uploading of W32_X32_Y32_Z32
* gl: Re-enable proper shader logging
remove old logging method that overwrites single file
* gl: Declare texture_coord_scale for vertex samplers
* gl: texture remap fixes; enable remap for vertex textures
* gl: offset texture indices to base layer 16
* rsx: Fix W32_Z32_Y32_X32_FLOAT subresource layout
* vk: Enable vertex textures
* rsx: define special calls for vertex texture fetch
* gl: improved vertex texture fetch setup
* vk: Fix texture formats and component mapping
* vk: Implement vertex texture fetch functions properly
* vk/gl: proper fix for primitive restart index
revert inadvertent decompiler update
* gl: Disable filtering for vertex textures
* Hopefully fix appveyor build (#2148 )
* GL/Vulkan: Bug fixes and improvements; alphakill for vulkan (#2146 )
* vk: Zero-initialize some more structs
* gl: Clean up fragment program generation code
* vk: Enable alpha kill
* vk: Fix surface clear; redirect output for surface_type:b
* vk: Tie renderpass to program object to avoid incompatible passes
* vk: Properly compute descriptor pool size (#2150 )
* rsx: Set default attribute format to float.
* rsx: vertex attribute size is 1 again for CMP, let backend handles this formats properties.
* rsx: Move printing function in a separate header/cpp
* Porting of DH's user clip implementation in gl
2016-09-24 18:21:41 +08:00
vlj
9ff52cf063
rsx: Move printing function in a separate header/cpp
2016-09-22 15:44:59 +02:00
vlj
8f5e94c155
rsx: Set default attribute format to float.
2016-09-22 15:44:59 +02:00
vlj
6b7ce37374
rsx: vertex attribute size is 1 again for CMP, let backend handles this formats properties.
2016-09-22 15:44:59 +02:00
kd-11
66e57ae19b
vk: Properly compute descriptor pool size ( #2150 )
2016-09-22 16:06:57 +08:00
kd-11
0d207a6c0d
GL/Vulkan: Bug fixes and improvements; alphakill for vulkan ( #2146 )
...
* vk: Zero-initialize some more structs
* gl: Clean up fragment program generation code
* vk: Enable alpha kill
* vk: Fix surface clear; redirect output for surface_type:b
* vk: Tie renderpass to program object to avoid incompatible passes
2016-09-21 21:41:29 +08:00
kd-11
867e9210d7
gl/vk: Enable vertex texture fetch ( #2127 )
...
* gl: Enable vertex textures
* rsx: use textureLod instead of generic texture sample
* rsx: handle uploading of W32_X32_Y32_Z32
* gl: Re-enable proper shader logging
remove old logging method that overwrites single file
* gl: Declare texture_coord_scale for vertex samplers
* gl: texture remap fixes; enable remap for vertex textures
* gl: offset texture indices to base layer 16
* rsx: Fix W32_Z32_Y32_X32_FLOAT subresource layout
* vk: Enable vertex textures
* rsx: define special calls for vertex texture fetch
* gl: improved vertex texture fetch setup
* vk: Fix texture formats and component mapping
* vk: Implement vertex texture fetch functions properly
* vk/gl: proper fix for primitive restart index
revert inadvertent decompiler update
* gl: Disable filtering for vertex textures
2016-09-20 22:23:56 +08:00
raven02
77f8ce503d
RSX texture refactor ( #2144 )
2016-09-19 09:25:49 +08:00
raven02
530ea688e4
GL: old recompiler clean up ( #2142 )
2016-09-18 13:19:26 +08:00
vlj
f87e396958
rsx: Dump DRAW_ARRAYS and DRAW_INDEX_ARRAYS.
2016-09-17 23:37:52 +02:00
vlj
8d54bcbc0d
rsx: Use variant based draw commands.
2016-09-17 23:37:52 +02:00
vlj
03c86ae43b
rsx: Move inline array to draw_clause structure.
2016-09-17 23:37:52 +02:00
Oil
153a2d2b40
Fixed fog and alphakill implementation in glsl (based on DH's old commits) ( #2137 )
...
* Fixed NV4097_SET_COLOR_CLEAR_VALUE
* Fixed fog and alphakill implementation in glsl (based on DH's old commits)
2016-09-14 22:47:53 +08:00
Oil
e73fce2d60
Fixed NV4097_SET_COLOR_CLEAR_VALUE ( #2135 )
2016-09-13 02:28:34 +03:00
vlj
14205d3d1c
d3d12: CMP vertex format has 4 members.
...
Fix 1878
2016-09-12 00:20:11 +02:00
vlj
30b804e0bc
d3d12: Fix a potential race condition.
2016-09-12 00:20:10 +02:00
vlj
153f1cc50a
d3d12: Always set transform constant when debug output is enabled.
2016-09-12 00:20:10 +02:00
raven02
fc3179b698
DX12: temporary disable vertex base index check ( #2128 )
2016-09-07 09:26:01 +08:00
raven02
d4a55f4b06
Vulkan: enable cull face again ( #2124 )
...
* Vulkan: enable cull face again
* minor fix
2016-09-06 09:43:27 +08:00
raven02
03a5b5be1a
DX12: Align to multiple of 4 block for DXTC format ( #2125 )
2016-09-05 08:47:45 +08:00
raven02
ad39615141
Revert "RSX: fix unknown vertex base type" ( #2122 )
2016-09-04 18:29:21 +08:00
raven02
691d87978b
RSX: fix wrong format 0x9b ( #2121 )
2016-09-04 15:23:43 +08:00
raven02
ebf54d6acd
RSX: fix unknown vertex base type ( #2120 )
2016-09-04 14:36:37 +08:00
vlj
73e50b970d
Remove settings UI change that accidently slipped in.
2016-08-27 15:40:41 +02:00
vlj
11858dce1a
rsx: Vertex array attributes don't need to be stored outside of regs.
2016-08-27 15:40:41 +02:00
vlj
a64053fd68
rsx: Remove some unused code.
2016-08-27 15:40:41 +02:00
raven02
bb66b97251
GL: minor fixes ( #2105 )
...
* Minor fixes
* temporary disable 2-sided lighting
* Disable user clip planes until they are properly handled
2016-08-27 14:12:44 +08:00
raven02
6e07e07cd0
GL: enable 2-sided lighting ( #2103 )
2016-08-27 00:26:23 +08:00
raven02
a270ac7f02
GL: re-use common fp/vp decompiler ( #2100 )
2016-08-26 22:23:23 +08:00
Vincent Lejeune
42b518cf7e
rsx: use range for vertex buffer attribute.
2016-08-24 21:58:59 +02:00
raven02
5b225ad59f
GL: ignore texture upload if invalid dimension found ( #2097 )
2016-08-24 21:19:16 +08:00
kd-11
8ebe9d7dc2
gl: Dont use hard assertions on error, driver reporting is so much better ( #2094 )
2016-08-24 17:31:27 +08:00
kd-11
9beb2d8ae0
vk/rsx: Bug fixes ( #2092 )
...
* vk: fix separate front and back lighting
* vk: Inlined arrays can have emulated primitives too!
* vk: Use float input attribs for better compatibility
* vk: Free resources during shutdown
2016-08-24 08:50:07 +08:00
raven02
12099b3144
RSX: fix invalid format (0x1) ( #2088 )
2016-08-24 02:08:05 +08:00
raven02
2aa2c1811f
Vulkan : add structure type for color blend state ( #2091 )
2016-08-23 19:07:51 +08:00
raven02
af1ff4439d
RSX: fix wrong format 0x9c ( #2087 )
2016-08-23 16:18:58 +08:00
raven02
51bdf1e3ed
DX12: fix invalid dimension ( #2086 )
...
DX12: workaround invalid texture dimension
2016-08-23 11:06:01 +08:00
raven02
d7a899f984
Vulkan : refine 2-sided lighting approach ( #2083 )
2016-08-23 08:24:22 +08:00
raven02
707523c679
Vulkan: set ColorBlendState info (used by logicOp) ( #2080 )
...
* Vulkan: set ColorBlendState info (used by logicOp)
* fix attachmentCount
2016-08-22 23:14:32 +08:00
raven02
e04de77f82
Vulkan : Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE ( #2081 )
2016-08-21 18:18:26 +08:00
raven02
be9cebbc8f
Workaround id_min/max ( #2079 )
2016-08-20 21:27:50 +08:00
Nekotekina
c20756136a
Minor diagnostic added
2016-08-18 13:29:53 +03:00
Nekotekina
066e3006bf
cellGameCreateGameData fixed
...
cellGameDataCheck fixed
PARAM.SFO creation fixed
2016-08-17 21:59:42 +03:00
Nekotekina
bbb0effe23
Minor fixes
...
cellSyncMutexTryLock fixed
2016-08-17 19:50:20 +03:00
Nekotekina
ad174eb12c
error_code implemented
...
Reports based on formatting system
ppu_error_code removed
arm_error_code removed
2016-08-16 18:57:44 +03:00
Nekotekina
1c33c012ad
ERROR_CODE macro removed
2016-08-15 19:18:05 +03:00
Nekotekina
3c82e1a58d
Silly macro removed-3
2016-08-15 18:30:33 +03:00
Nekotekina
dbcb5df172
WRAP_EXPR macro removed
2016-08-15 17:11:45 +03:00
Nekotekina
84d0d396ed
EXPECTS usage removed
2016-08-15 16:29:38 +03:00
Nekotekina
56b9b38c9c
verify() fix
2016-08-15 14:59:19 +03:00
Nekotekina
05fb57baff
VERIFY macro removed
2016-08-15 03:13:31 +03:00
Nekotekina
cc46f2d7e6
LOG macro improved
2016-08-15 00:04:42 +03:00
Nekotekina
1f3433464c
ENSURES usage removed
2016-08-14 22:41:01 +03:00
Nekotekina
0f87c4485d
Silly macro removed-2
2016-08-14 18:19:42 +03:00
Nekotekina
5e0489dcc0
cpu_init removed
2016-08-14 18:07:34 +03:00
Nekotekina
2d512121f1
XAudio2.8+ fix
2016-08-12 23:45:02 +03:00
Nekotekina
7a2802a5e0
Silly macro removed
2016-08-12 19:31:28 +03:00
Vincent Lejeune
619d605a9e
rsx: remove vertex_draw_count
2016-08-11 19:47:14 +02:00
Vincent Lejeune
b8721b6475
gl: Refactor vertex_buffer.cpp
2016-08-11 19:47:14 +02:00
Vincent Lejeune
a94b9d38b0
vk: refactor VKVertexBuffers.
2016-08-11 19:47:14 +02:00
Nekotekina
fc56e70172
vm::ptr<char> formatting
2016-08-11 16:47:20 +03:00
Nekotekina
bdeccd889f
cpu_type removed, system_type added
...
cpu_state -> cpu_flag
vm::stack_allocator template improved
ppu_cmd type changed to enum, cmd64 type added
2016-08-09 17:14:41 +03:00
raven02
009ac37a7d
XAudio : reorder versioning 2.9>2.7>2.8 ( #2048 )
2016-08-09 15:55:11 +08:00
kd-11
44ae306e6b
vk: delay texture removal when cache is clobbered ( #2045 )
2016-08-09 08:47:42 +08:00
Nekotekina
a7e808b35b
EXCEPTION macro removed
...
fmt::throw_exception<> implemented
::narrow improved
Minor fixes
2016-08-08 19:19:32 +03:00
Nekotekina
46735d6b3d
New bitsets (experimental)
2016-08-08 16:29:37 +03:00
Nekotekina
1a7ea2d235
fmt_unveil<> fix
2016-08-07 17:05:35 +03:00
Nekotekina
4438163da1
Gui log bugfix
2016-08-07 14:39:29 +03:00
Nekotekina
b7eda71673
XAudio2.7 bug workaround
2016-08-06 18:19:38 +03:00
Nekotekina
0fcbd43db9
Specify XAudio sample rate and ch num
2016-08-06 16:21:29 +03:00
Nekotekina
4de513eb01
Increase XAudio thread priority
2016-08-06 15:40:51 +03:00
Nekotekina
7be259217a
Error loading image fix
2016-08-06 13:39:05 +03:00
Nekotekina
c9a789bf76
PPU LLVM fix
2016-08-06 13:39:03 +03:00
Vincent Lejeune
fb47945930
rsx: Returns u32 instead of size_t for get_index_count/type_size
2016-08-06 00:25:23 +02:00
Vincent Lejeune
eb1d4811de
rsx: Use a "draw clause" object in rsx_state.
2016-08-05 23:33:40 +02:00
Nekotekina
d646fbb94f
Fmt/Log fixes
2016-08-05 20:59:25 +03:00
Vincent Lejeune
7a6f5b6ee5
rsx: Move index pointer generation in rsx::thread.
2016-08-05 17:54:44 +02:00
raven02
8ff155a2c9
Regression fix #2029 ( #2030 )
2016-08-05 14:38:58 +08:00
Nekotekina
f7dcaa4a68
cellSysutilCheckCallback fix
2016-08-04 22:36:41 +03:00
Nekotekina
5a36c57c57
Formatting system improved
...
`unveil<>` renamed to `fmt_unveil<>`, now packs args to u64 imitating va_args
`bijective...` removed, `cfg::enum_entry` now uses formatting system
`fmt_class_string<>` added, providing type-specific "%s" handler function
Added `fmt::append`, removed `fmt::narrow` (too obscure)
Utilities/cfmt.h: C-style format template function (WIP)
Minor formatting fixes and cleanup
2016-08-04 21:34:00 +03:00
raven02
4dd67cdd54
texture: ignore when texture width > pitch
2016-08-04 17:54:34 +08:00
kd-11
47a9c8d731
vk/gl: bug fixes ( #2018 )
...
* vk: use null sampler for invalid/broken texture configurations
* gl: Do not consider 32_BIT_EXPORTS flag for depth writes
2016-08-04 03:33:52 +08:00
raven02
208f4c3e27
vk: front_diff_color typo fix ( #2016 )
...
* vk: typo fix
* continue in for loop
2016-08-02 23:54:49 +08:00
raven02
61c6f82f74
Regression fix #1995 ( #2014 )
2016-08-01 19:47:14 +08:00
Nekotekina
e6bd91ada0
id_manager: embedded RTTI
2016-08-01 12:51:47 +03:00
Nekotekina
e585939ac2
id_manager::id_key implemented
2016-08-01 01:35:53 +03:00
Nekotekina
3576e13e9a
emucore.vcxproj fix
2016-08-01 01:35:37 +03:00
Vincent Lejeune
9e7902455d
rsx: Fix warning because of unused arguments
2016-07-31 19:19:21 +02:00
Nekotekina
68cf570b58
Implemented rsx::invalid_method
2016-07-31 18:16:51 +03:00
Nekotekina
1c69eb2b73
rsx_method_t extended
...
rsx_methods.cpp cleanup
2016-07-31 18:16:49 +03:00
Nekotekina
6a9f3040e1
rsx_methods.cpp fix
2016-07-31 18:16:48 +03:00
Vincent Lejeune
22a89a272e
Move all gcm enums into separate header/cpp.
2016-07-31 17:04:30 +02:00
Vincent Lejeune
4c46bde315
rsx: Inline rsx_state and texture constructors.
2016-07-31 16:48:09 +02:00
Nekotekina
0578430fd0
XAudio2 version priority
2016-07-30 20:25:46 +03:00
Vincent Lejeune
b9f4c15ec0
vm: Add missing headers.
...
vm.h relies on memory (std::shared_ptr) and functionnal (std::function).
2016-07-30 18:39:26 +02:00
Vincent Lejeune
15500d4ee9
rsx: implement serialization of rsx states.
2016-07-30 18:39:26 +02:00
Vincent Lejeune
2528fc4555
Add cereal dependency
2016-07-30 18:39:26 +02:00
Nekotekina
f8719c1230
PPUThread refactoring
...
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
2016-07-30 16:35:02 +03:00
kd-11
33c59fa51b
vk: optionally center/offset images when scaling ( #1998 )
2016-07-30 10:07:39 +08:00
Vincent Lejeune
ac771f951d
rsx: Copy state in capture frame call
2016-07-27 20:20:35 +02:00
Vincent Lejeune
8b12379eb3
rsx: Use bitfield template to decode values.
2016-07-27 18:38:36 +02:00
jypem
2064f1cb80
Handle error when loading game icon ( #1687 )
2016-07-26 14:39:12 +03:00
Lena
e377199e41
Ensure the 'shaderlog' directory exists ( #1986 )
...
Should fix #1984
2016-07-26 00:15:14 +03:00
Nekotekina
a8f977ed9e
XAudio 2.8 test fix
2016-07-25 19:30:21 +03:00
Nekotekina
44bee7d0ba
LLVM: Use small code model
...
Global variables modified:
__mptr: pointer to memory base addr
__cptr: pointer to function map addr
Use 32 bit pointers in function map
2016-07-25 18:26:02 +03:00
raven02
1672c93a2d
Revert "Audio : allow XAudio2 to run its own thread" ( #1988 )
2016-07-25 09:09:14 +08:00
raven02
2a3029a62c
PPU: register undocumented functions in cellSysmodule ( #1987 )
2016-07-25 08:43:02 +08:00
raven02
53b2e19d96
Audio : allow XAudio2 to run its own thread ( #1980 )
2016-07-25 08:25:02 +08:00
Nekotekina
5c9f83c3a8
PPU LLVM: New "stack" strategy
...
Minor pessimization: all memory accesses are volatile
Special handling of prologues and epilogues
Minor optimizing assumption for SP
2016-07-24 21:47:45 +03:00
Nekotekina
712c04b2ad
PPU Analyser update
...
WIP, nothing changed
2016-07-24 21:06:10 +03:00
Nekotekina
39dadad534
PPU executable memory protection
...
Experimental commit, not improved for PRX
Also fixed minor bug in PRX loader
2016-07-24 21:06:09 +03:00
Nekotekina
a026d35c97
sys_interrupt_thread_eoi fixed
...
thread_ctrl::interrupt improved
BIND_FUNC improved: preparations
2016-07-24 21:06:07 +03:00
Nekotekina
7ccdea7822
Removed std::enable_shared_from_this
...
Minor ID manager refactoring
2016-07-24 21:06:05 +03:00
kd-11
09ae45c566
vk: Conform to current spec ( #1981 )
...
* vk: define rtt images with transfer_dst set
* vk: Bind a buffer view for attribs with undefined data
* vk: Properly define renderpass clip region to fit the framebuffer
* vk: respect type bits from returned memory requirements
2016-07-25 00:28:49 +08:00
Nekotekina
deeb4acbe5
Partial revert of 6ae54ae27b
2016-07-22 19:26:58 +03:00
Nekotekina
5eb98b745f
cellVdec fixed (requires LLE dmux)
...
Basic MPEG2 support
2016-07-22 18:29:05 +03:00
kd-11
74fec275c7
gl: Clear depth surfaces before use; Vulkan cleanup ( #1957 )
...
* vk: Clean up a few trap messages
vk: silence a few compile errors
* gl: Clear new depth surfaces to max_depth
gl: use glClear to clear depth buffers
2016-07-22 07:31:58 +08:00
Nekotekina
a0c0df6e9d
Dynamic XAudio version detection
2016-07-21 17:46:46 +03:00
raven02
0ae8cc4467
D3D12: revert heap size back to 896M ( #1960 )
...
* D3D12: revert heap size back to 896M
* Update D3D12GSRender.h
2016-07-21 14:50:06 +08:00
raven02
f36f478281
vk: refactor compare_op ( #1959 )
2016-07-21 13:35:06 +08:00
Nekotekina
0227c03366
GUI logging improved
...
logs::listener resurrected
rpcs3 version: constexpr
2016-07-21 01:54:39 +03:00
raven02
8157e7cac8
Obsolete 3D monitor ( #1955 )
2016-07-20 23:45:26 +08:00
Nekotekina
ae634bb87e
RSX exception fix
...
VBlank thread management fix
2016-07-20 15:16:19 +03:00
Vincent Lejeune
e9bee80f4b
rsx: Use register_decoder for vertex attributes.
2016-07-19 20:28:32 +02:00
kd-11
854bc1db60
dx12: simplify constant color blend equation/algorithm checks
2016-07-19 19:20:57 +03:00
kd-11
d3837de571
dx12: Constant color/alpha blending
2016-07-19 19:20:57 +03:00
raven02
e1ff3f4674
rsx: use fragment_textures_count ( #1948 )
...
* rsx: use fragment_textures_count
* Typo: unknow -> unknown
2016-07-19 22:50:40 +08:00
Nekotekina
ceb4cb59ac
Typo fix: comparaison->comparison
2016-07-19 14:17:25 +03:00
Nekotekina
fc9fdca3f6
Make TLS great again
...
And clean System.h a bit
2016-07-19 14:06:39 +03:00
raven02
6296453ef3
D3D12: inline stencil test as GL and Vulkan backend ( #1945 )
2016-07-19 16:52:14 +08:00
Nekotekina
04926374f7
PKG installer fix
2016-07-18 21:28:58 +03:00
raven02
7ac9d3b679
D3D12/Vulkan : swizzle texture format G8B8 ( #1931 )
...
* D3D12: swizzle texture format G8B8
* Vulkan: swizzle texture format G8B8
2016-07-18 20:16:11 +08:00
kd-11
2e5b01faca
vk: Fix vertex winding ( #1934 )
...
* vk: do not flip face winding based on shader origin
* vk: disable face culling
2016-07-17 22:55:59 +03:00
kd-11
2337bf204c
vk/dx12: Enable/fix separate back and front lighting ( #1927 )
...
* vk: separate specular color
rsx: separate front color output from back color output
re-enable front-back diffuse lighting
vk: fix front face selection and actually enable face culling
* dx12: Hide constant-key blended visuals (by common use of factor, 1-factor)
* dx12: Fix 2 sided lighting when the shader does not compute both outputs
* vk/dx12: confirm that src register exists before copying for 2-sided lighting
2016-07-18 00:57:50 +08:00
Vincent Lejeune
c6ed5a8e6b
gl: Fix direct call to rsx::method_registers array.
2016-07-17 17:31:53 +02:00
Vincent Lejeune
d97cdb9fbf
rsx: Gather most rsx commands pretty printing and state modification function in a single file.
...
rsx_decode.h implements a "rsx_decoders" template class that is specialized for most GCM command
found in rsx command buffer. 3 static members are defined : a "decode" function that turns command
value into a more meaninfull type if applicable (for instance bool for _enabled* command, surface
formats for set_surface_format command...), a "commit_rsx_state" that modifies a given rsx_state
structure when the command is parsed, and a "dump" function used in rsx_debugger for pretty printing.
Hopefully having the 3 functions in a single place for every command will act as a self documenting
list of rsx command buffer opcode.
rsx_state is also expanded into several explicit variables instead of being stored into a u32 array.
This should makes debugging easier (Visual Studio will display the exact value of these member for instance)
as well as preparing rsx_state for serialisation/deserialisation.
The vertex array and textures opcode are not concerned atm for bisecting purpose.
2016-07-17 17:31:53 +02:00
Nekotekina
692d9dd4ae
NV0039_OFFSET_IN fix
2016-07-17 15:03:13 +03:00
Nekotekina
438e057dc8
Partial commit: sys_fs
2016-07-17 02:27:52 +03:00
Nekotekina
96728a83f6
Partial commit: sys_memory, sys_mmapper
2016-07-16 14:46:01 +03:00
Nekotekina
f5e65e4ad9
Partial commit: sys_tty
2016-07-16 14:45:59 +03:00
Nekotekina
c95f6c8c56
Partial commit: sys_vm
2016-07-16 14:45:58 +03:00
Nekotekina
73c2115968
BEType: explicit alignment specifier
2016-07-16 14:45:57 +03:00
raven02
2085d318bb
rsx: typo fix ( #1921 )
2016-07-15 20:19:15 +03:00
Nekotekina
c77dec6d6a
PPU Analyser improved
...
Fix for old homebrews
2016-07-15 13:42:22 +03:00
AnnieL
dc34d5b350
cell: add several error (return) codes and definitions ( #1914 )
...
* cellHttp: add error codes
Adds error codes for cellHttp and cellHttps
* libDaisy: adds error codes and definitions
Adds error codes, assertations and definitions for cellDaisy.
* cellHttpUtil: add error codes
Adds error codes for cellHttpUtil.
* cellCelp8Enc: moves error codes, adds definitions
Moves error codes to cellCelp8Enc.h, adds some definitions.
* cellCelpEnc: moves error codes, adds definitions
* cellJpgEnc: adds error codes and definitions
Moves the existant error codes to cellJpgEnc.h and adds more error codes
/ definitions.
* cellVoice: moves error codes, adds definitions
Moves error codes to cellVoice.h, adds most cellVoice definitions
* Fix typos
2016-07-15 00:02:07 +03:00
AnnieL
ca835ba68a
cellGame: unknown category temporary fix (hack) ( #1909 )
...
All the games I've been trying to load from outside RPCS3's bin directory are returning me empty directories
```
{PPU[0x3] Thread (main_thread) [0x011223d8]} class fmt::exception thrown: cellGameBootCheck(): Unknown CATEGORY:
```
This is a hack for when the category is empty or unknown.
We assume it's a disk game and proceed with the emulation.
2016-07-14 23:12:26 +03:00
kd-11
ce56351554
gl: Fix fragment constants streaming ( #1907 )
2016-07-15 02:25:38 +08:00
raven02
d60b292ef1
Modules: savedata fix ( #1910 )
2016-07-15 00:28:26 +08:00
Nekotekina
eb377f425c
PPU LLVM: Analyser fix
...
ppu_branch_target removed
2016-07-14 16:27:14 +03:00
kd-11
6401eefb26
gl: reset texture scaling factor during bind
...
reset vertex textures as well
2016-07-13 21:01:16 +03:00
kd-11
ea6f3ff5ed
gl: Properly determine front face winding
2016-07-13 21:01:16 +03:00
kd-11
97581d8635
gl: Fix primitive type checks
2016-07-13 21:01:16 +03:00
Nekotekina
0a5b518aea
PPU Analyser fix
2016-07-13 02:54:34 +03:00
Nekotekina
94da0dbd4d
PPU LLVM improvements
...
Removed interpreter dependencies
Reciprocal instructions improved
2016-07-12 17:33:13 +03:00
raven02
87e38118a5
Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE ( #1898 )
2016-07-12 21:52:11 +08:00
Nekotekina
ba8fd825ec
fs::get_data_dir implemented
2016-07-11 22:12:39 +03:00
kd-11
2c981cf940
rsx: mark register access with divider op enabled and frequency 1 ( #1892 )
2016-07-12 02:53:52 +08:00
Nekotekina
11f7b167ae
Update Vulkan submodules
...
Temporarily disabled Vulkan build for Linux
2016-07-11 19:27:50 +03:00
Nekotekina
06c6c8212d
Minor fixes
...
elf_object
Loader fix
Analyser fix
2016-07-11 16:30:11 +03:00
raven02
b89961f01d
rsx: set frame limiter before rsx->flip() ( #1885 )
2016-07-11 21:00:04 +08:00
kd-11
59df7e7104
glsl: not all shaders write to col0 ( #1884 )
...
fix typo
2016-07-11 09:05:13 +08:00
kd-11
bbf7e6332c
glsl; dump shaderlog ( #1883 )
...
fix typo
2016-07-11 01:16:31 +08:00
Lena
8c3b3f7ab4
CMake: improve compiler checks ( #1847 )
...
Moves the compiler check out of rpcs3/CMakeLists.txt and adds them
into rpcs3/cmake_modules/ConfigureCompiler.cmake
Add better compiler checks and eliminate a TODO
2016-07-10 16:15:56 +08:00
raven02
47987efb75
rsx: add default case for to_front_face() ( #1879 )
2016-07-10 08:33:20 +08:00
raven02
ed8ebda804
vk: add missing compare func not_equal ( #1876 )
2016-07-10 04:32:09 +08:00
raven02
d4da0e052d
sys_net: add few socket options ( #1874 )
2016-07-10 02:30:56 +08:00
kd-11
6705a6ecc9
rsx: properly check for inlined array before discarding draw ( #1877 )
2016-07-09 22:54:44 +08:00
raven02
dfa968863a
DX12: get_scissor() fix ( #1868 )
2016-07-09 01:00:15 +08:00
raven02
70885ada67
RSX: throw exception removal for user_command() ( #1872 )
2016-07-09 00:22:10 +08:00
raven02
1f4ebf1501
RSX: check vertex_draw_count
2016-07-08 16:56:12 +08:00
Vincent Lejeune
772706ca4c
Factorize rsx state
2016-07-07 21:38:57 +02:00
Ivan
77594dc66c
PPU LLVM: New analyser ( #1858 )
...
Minor fixes
VEX prefix support
2016-07-07 21:42:39 +03:00
GhettoGirl
758897a929
GUI: add prx library search functionality in settings dialog
...
Add the possibility too lookup specific libraries in the settings dialog.
2016-07-05 20:46:51 +02:00
GhettoGirl
5c4af45bf5
GUI: improve prx library selection
...
Sorts the libraries in the settings dialog alphabetically, so they are easier to find.
Sorts selected and unselected modules alphabetically seperatly.
2016-07-05 00:00:46 +02:00
raven02
effd379c25
Vulkan/DX12 : refactor cull face code ( #1849 )
...
* Vulkan/DX12 : refactor cull face code
1
* Add optimal build options to CMakeLists (#1841 )
Provides two options when building RPCS3
USE_SYSTEM_FFMPEG BOOL (default: OFF)
USE_SYSTEM_LIBPNG BOOL (default: OFF)
These options lets the user select between the system provided and builtin libraries of ffmpeg and libpng to overcome possible system issues.
Also adds support for older libpng releases if the user doesn't have libpng 1.5 or higher.
* DX12: depth buffer compare should perform only if depth testing is enabled (#1848 )
* GL: front face regression fix (#1854 )
* GUI: Add bulk decryption of LLE modules (#1845 )
Adds a new menu to "Tools" called "&Decrypt SPRX libraries" which opens a dialog to select
multiple *.sprx files, which are than decrypted all at once.
This speeds up the LLE module decryption and saves users a lot of time.
The output path is the same where the input module resides and the extension is changed
to *.prx
* vk: Avoid double-copy for vertex attributes (#1852 )
* vk: Avoid double-copy for vertex attributes
fix buffer overflow
vk: Fix vertex attrib offset_in_dst for batched draw calls
* whitespace fix only
2016-07-03 10:35:51 +08:00
kd-11
a6b7c9c309
vk: Avoid double-copy for vertex attributes ( #1852 )
...
* vk: Avoid double-copy for vertex attributes
fix buffer overflow
vk: Fix vertex attrib offset_in_dst for batched draw calls
* whitespace fix only
2016-07-02 22:27:53 +08:00
Lena
85c4392b34
GUI: Add bulk decryption of LLE modules ( #1845 )
...
Adds a new menu to "Tools" called "&Decrypt SPRX libraries" which opens a dialog to select
multiple *.sprx files, which are than decrypted all at once.
This speeds up the LLE module decryption and saves users a lot of time.
The output path is the same where the input module resides and the extension is changed
to *.prx
2016-07-02 19:19:32 +08:00
raven02
c3bac7c92b
GL: front face regression fix ( #1854 )
2016-07-01 20:47:56 +08:00
raven02
45d41267f5
DX12: depth buffer compare should perform only if depth testing is enabled ( #1848 )
2016-07-01 15:02:40 +08:00
Lena
869e10027d
Add optimal build options to CMakeLists ( #1841 )
...
Provides two options when building RPCS3
USE_SYSTEM_FFMPEG BOOL (default: OFF)
USE_SYSTEM_LIBPNG BOOL (default: OFF)
These options lets the user select between the system provided and builtin libraries of ffmpeg and libpng to overcome possible system issues.
Also adds support for older libpng releases if the user doesn't have libpng 1.5 or higher.
2016-07-01 12:07:16 +08:00
raven02
246b593783
Vulkan/GL: add default case for front face in case of garbage value ( #1844 )
2016-06-30 12:46:25 +08:00
raven02
d22017bfca
DX12: using better approximation for constant color/alpha blending ( #1839 )
...
* DX12: using better approximation for constant color/alpha blending
* typo fix
* Comment updated.
2016-06-28 20:19:04 +08:00
DH
989f954432
Added WIP vertex textures support
2016-06-28 12:58:44 +03:00
DH
4d88296485
RSX shaders cache: group programs by indexes
2016-06-28 12:54:08 +03:00
DH
086e1c34dd
RSX: added hack to the nv3089::image_in
...
Remove it when textures cache will be implemented properly
2016-06-28 12:52:10 +03:00
DH
e6c6a7fb8b
RSX: added proper nv0039::buffer_notify implementation from rsx_cache branch
2016-06-28 12:48:45 +03:00
DH
32830d45ff
Improved shaders cache
2016-06-27 21:53:56 +03:00
Nekotekina
0ea0c21fed
LLVM: Indirect call map
2016-06-27 19:34:14 +03:00
Nekotekina
7a921cbdf9
cpu_thread compressed
2016-06-27 16:43:57 +03:00
Nekotekina
9db7de29fb
Syscall analysis implemented
2016-06-27 16:43:56 +03:00
Nekotekina
a19b721c26
LLVM: Added JIT.cpp
...
Refactoring, used -fno-rtti option
2016-06-27 16:43:53 +03:00
Nekotekina
73ea020525
PPU LLVM: Thread context argument
2016-06-27 16:43:50 +03:00
raven02
2c10348408
DX12 : add remaining constant color/alpha blending ( #1834 )
2016-06-27 20:40:53 +08:00
DH
67a341fded
Fixed _var_base move ctor
2016-06-27 03:22:22 +03:00
DH
44879dd9f3
Implemented alpha kill and fog
2016-06-27 01:52:08 +03:00
DH
6ae54ae27b
RSX: Added legacy non-array vertex attributes support (if count of elements > 1)
...
Fixed ps1ght games
2016-06-26 21:32:50 +03:00
DH
bf8a20c4b9
Avoid using flip hack if it's possible
...
Also added some documentation about it
2016-06-26 21:32:49 +03:00
DH
55bc9eda9a
Do not throw exception if cellDiscGame* executed
...
That not a critical situation, simple message in the log should be a good enough
2016-06-26 21:32:48 +03:00
DH
e296f81a37
Shaders decompiler: support non 2D textures
...
Do not validate programs with undefined textures uniforms
Minor fix
2016-06-26 21:32:48 +03:00
raven02
d69a4173fa
vk: push back border color to sampler ( #1832 )
...
* vk: push back border color to sampler
* use approximate color
* Add TODO for VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK
2016-06-26 21:25:25 +08:00
raven02
4a08e8cd0b
sys_ppu_thread_create break fix ( #1824 )
2016-06-25 22:36:48 +08:00
raven02
7779742ac1
GL: fix few texture swizzle remap ( #1823 )
...
* GL: fix few texture swizzle remap
* GL: add texture format HILO8 & HILO_S8
* VK: add mapping for X32_FLOAT
2016-06-25 20:15:10 +08:00
raven02
091b6711ae
sys_net: set other options using setockopt() ( #1815 )
...
* sys_net: set other options using setockopt()
* typo fix
* Typo fix #2
2016-06-23 09:54:46 +08:00
DH
714e07b1dc
OpenGL rendered: use textures cache
2016-06-23 01:01:29 +03:00
DH
001ab05f1a
Fixed LLVM & MemLeak builds
2016-06-22 23:03:46 +03:00
DH
f30d71da6c
OpenGL renderer: improved vertex attributes setup
...
Minor fixes
2016-06-22 22:46:47 +03:00
DHrpcs3
cbf880fb71
OpenGL renderer: Proper clipping implementation
2016-06-21 19:56:07 +03:00
DHrpcs3
8fd3064905
OpenGL renderer: check for gl errors in release builds.
...
Ignore null-sized textures
Cleanup
2016-06-21 19:56:06 +03:00
DHrpcs3
e83c387ebe
OpenGL renderer: Fixed texture bias setup.
2016-06-21 19:56:05 +03:00
DHrpcs3
3b5cd4845e
OpenGL renderer: use correct MVP matrix. Cleanup
...
Simplified gl::ring_buffer helper
2016-06-21 19:56:05 +03:00
DHrpcs3
c0487a634e
Added rsx_program_decompiler to the CMakeLists
2016-06-21 19:56:04 +03:00
O1L
67fe5e1107
Fill fragment constants
2016-06-21 19:56:02 +03:00
O1L
1778113b71
Use sampler buffers in vertex shaders
2016-06-21 19:56:01 +03:00
O1L
8637754d6a
Missed changes
2016-06-21 19:56:00 +03:00
O1L
083c4fc855
Try to use new shaders decompiler in OpenGL backend
2016-06-21 19:56:00 +03:00
Nekotekina
251fb86ab0
PPU LLVM: Some instructions simplified
2016-06-21 18:08:21 +03:00
Lena
5853332db7
Fixed the frame icon ( #1811 )
...
There was a tiny duplicate of the icon itself in the left upper corner.
2016-06-21 17:03:07 +03:00
Nekotekina
860926d731
File op buffer
2016-06-21 13:22:07 +03:00
Nekotekina
eb889920e6
IdManager fix
...
Debug build fixed
Allowed get/remove with forward declarations
2016-06-21 12:23:28 +03:00
raven02
c96057296a
Fix invalid map<K, T> key error ( #1801 )
2016-06-20 06:43:13 +08:00
Nekotekina
a8bebcba55
LLVM AOT
2016-06-19 21:29:48 +03:00
Nekotekina
6fa5e2cc7c
PPUAnalyser.h added
2016-06-19 20:50:21 +03:00
raven02
298c9fea22
vk: Better VRAM heap selection by memory properties (AMD)
2016-06-19 13:49:25 +08:00
raven02
244f3dfb89
DX12: set the heap size based on available vram ( #1786 )
2016-06-19 11:01:11 +08:00
raven02
28366d35d2
VK: add cull mode and front face ( #1789 )
2016-06-19 09:53:49 +08:00
raven02
f6b5f02501
Merge branch 'master' into gl-flip
2016-06-19 00:28:02 +08:00
kd-11
833c100850
vk: Properly enable window resizing
2016-06-18 15:39:07 +03:00
DHrpcs3
bc63eaea48
Added rpcs3 api (dynamic library)
2016-06-17 21:26:06 +03:00
DHrpcs3
795170635f
Added dynamic_library utility
2016-06-17 21:26:05 +03:00
DHrpcs3
b52e885cde
Added rpcs3 version object
...
Removed _PRGVER_ macros
2016-06-17 21:26:04 +03:00
raven02
079411eee8
Texture format W16_Z16_Y16_X16_FLOAT fix ( #1777 )
2016-06-17 09:32:07 +03:00
raven02
9f1ee5bd28
OGL: disable pixel processing test before flip
2016-06-15 21:51:51 +08:00
kd-11
3a63b62486
gl: dynamically determine texture buffer offset alignment
...
fix alignment issues for gpus where align < 16 is ok
2016-06-14 00:08:23 +03:00
kd-11
28a5d4d4f0
Add a workaround for a khronos spec bug
2016-06-14 00:08:23 +03:00