kd-11
3c9126d91f
rsx: Ignore FENCE instruction as it seems like its ignored on realhw
...
- This is likely a compiler hint for performance reasons and not a mandate
2017-11-09 14:39:50 +03:00
kd-11
8b4836a12f
rsx: Fix shader cache version check
2017-11-09 14:39:50 +03:00
kd-11
b2a7eee1ec
rsx: Bump shader cache ver and fix blit engine crash
...
- Disables blit operations if the target will have a size of 0 in any dimension
- Bumps shader cache ver to 1.1
2017-11-09 14:39:50 +03:00
kd-11
ed21bb309f
rsx: Minor fixups
...
- Fix texture cache blit behaviour when src has AA enabled and dst is a blit dst texture with or without AA
-- This requires handling AA resolve by removing a half downscale on multisampled axes
- Return all ones when a vertex attribute is disabled.
-- Some games forget to enable vertex attributes actually needed by the fs
2017-11-08 13:15:34 +03:00
kd-11
7b3e4f5e3d
vk: Hotfix
...
- facepalm: Do not enable depth comparison mode if masquerading as RGBA color!
2017-11-08 13:15:34 +03:00
kd-11
30b3af0d12
vk: Cleanup, simplify renderpass management
2017-11-08 13:15:34 +03:00
kd-11
541cb4062b
vk: Fix shader logging
...
- Do not overwrite logged programs
2017-11-08 13:15:34 +03:00
kd-11
4e9160104a
rsx/vk/gl: Cleanup and refector glsl::getFunctionImpl
...
- Both backends now generate very similar code
2017-11-08 13:15:34 +03:00
kd-11
86fa379c78
rsx/vk: Fix unnormalized converted textures
2017-11-08 13:15:34 +03:00
kd-11
8733505d0a
rsx: Minor fixes
...
- texture_cache: Fix internal size calculation for subresources
- vk: Delay dynamic state updates until just about to draw to ensure no flush has discarded the cb state
2017-11-08 13:15:34 +03:00
kd-11
242611aa46
gl/qt: Catch segfaults in wglDeleteContext with SEH (AMD windows driver)
...
- In rare cases the driver derefs a nullptr and dies, taking the emulator with it
- From testing, it seems the vram is indeed freed when this happens so its "safe" to continue
2017-11-08 13:15:34 +03:00
kd-11
baa5a261a5
rsx: Rewrite invalidate_range_impl_base in a way that makes sense. Fixes wcb hanging
2017-11-08 13:15:34 +03:00
kd-11
3730b9d1da
rsx: More fixes
...
- Support for raster offsets in surface descriptors (looks to be unused)
- Do not tag disabled render targets when using MRT (pitch = 64)
- Add missing notify_surface_changed() call for openGL
2017-11-08 13:15:34 +03:00
kd-11
0d35363ea0
rsx: Minor optimization - dont update sampler state if texture state registers have not changed
2017-11-08 13:15:34 +03:00
kd-11
75504b3f5e
rsx: Rework context handling and stop leaking the GL ccontext
...
- GL contexts are external handles that require manual lifecycle management
2017-11-08 13:15:34 +03:00
kd-11
4ca98e53a6
rsx: Fix for unnormalized texture access
2017-11-08 13:15:34 +03:00
kd-11
300a36d3d6
rsx: Fixes for cubemap reconstruction
...
- Do not abort generation if sides are missing, replace with blank surfaces instead
- Make cubemaps scale with res scaling
2017-11-08 13:15:34 +03:00
kd-11
60c7a508a7
rsx: Refactor create_subresource_view(deferred_subresource&) and implement a subresource cache
...
- This limits the number of times an image is copied and improves performance
2017-11-08 13:15:34 +03:00
kd-11
1fa18757fc
rsx: Implement render-to-cubemap; Also simplify unnormalized samplers [WIP, DELETE SHADER CACHE, VERY SLOW]
...
- Enables real-time cubemap reflections
- TODO: Vulkan is broke; rsx is very slow with this feature
2017-11-08 13:15:34 +03:00
kd-11
fbb7186e66
rsx/gl: Addendum - Fix fragment shader to consume texture scale parameters
2017-11-08 13:15:34 +03:00
kd-11
0961a43997
rsx: Implement 1D<->2D image type casts
2017-11-08 13:15:34 +03:00
kd-11
7037504dcf
rsx: Workaround for missing AA flags on some surfaces
...
- This just doesnt work right yet. It looks like AA is being used dynamically? (RDR)
- TODO: Try to locate flags to set AA if AA mode is not changed
2017-11-08 13:15:34 +03:00
kd-11
2385029eab
gl: Shift code around to increase work done after memory transfer operations
...
- The current code is slower because memory operations are too close to their draw calls
-- This is mainly an issue with proprietary AMD drivers
2017-11-08 13:15:34 +03:00
kd-11
eed55a446c
rsx: Minor optimization
...
- Defer resolving image copy operations to the binding step
2017-11-08 13:15:34 +03:00
kd-11
bbcb6b6851
rsx: Fbo fixes 2
...
- Use AA mode to predict surface compression. Compression mode is useless without AA activated
- Rewrites most image subresource fetch routines to use the new heuristic
- Fix rsx:🧵 :find_tile. FEED000(X) can be substituted for (X) in the code
-- Fixes alot of failures when looking for tiled regions
rsx: Fix antialiased unnormalized coords
- scaling factors are inverse to allow proper coordinates to be computed in fs
2017-11-08 13:15:34 +03:00
kd-11
b95630d84a
rsx: Minor fixups
...
- Optimize framebuffer memory invalidate conditions
- Fix texture sampling of AA textures (wider by 2x surfaces)
2017-11-08 13:15:34 +03:00
kd-11
af1d3c2aa6
rsx: Improve surface store resource management
...
- vk: Use frame testing to determine invalidated resources that can be safely deleted
2017-11-08 13:15:34 +03:00
kd-11
ec3e5c547f
rsx: More fixes
...
- Tag surface store to help determine when contents have been invalidated
- Crop framebuffer textures if they are not the requested dimensions!
2017-11-08 13:15:34 +03:00
kd-11
963a87fed5
rsx: Critical fixes
...
- Remove generic throws from the rsx pipeline. Stops the rsx thread from silently dying leaving the emulator in a hung state
- Hackplement add_signed and reverse_subtract_signed blend modes
2017-11-08 13:15:34 +03:00
kd-11
173d05b54f
rsx: Optimizations
...
- Reimplement fragment program fetch and rewrite texture upload mechanism
-- All of these steps should only be done at most once per draw call
-- Eliminates continously checking the surface store for overlapping addresses as well
addenda - critical fixes
- gl: Bind TIU before starting texture operations as they will affect the currently bound texture
- vk: Reuse sampler objects if possible
- rsx: Support for depth resampling for depth textures obtained via blit engine
vk/rsx: Minor fixes
- Fix accidental imageview dereference when using WCB if texture memory occupies FB memory
- Invalidate dirty framebuffers (strict mode only)
- Normalize line endings because VS is dumb
2017-11-08 13:15:34 +03:00
Zion Nimchuk
865bb47462
HEAD or master will no longer show up in the titlebar
2017-11-08 12:49:22 +04:00
scribam
3e7ed8a831
PPUTranslator minor changes
2017-11-08 08:34:00 +04:00
Zion
3a49a77c07
Fix git-branch in title... again ( #3704 )
...
Fix git-branch in title... again
2017-11-08 01:22:41 +00:00
Zion Nimchuk
6782b22637
Make cellMouseGetDataList return CELL_MOUSE_ERROR_NO_DEVICE if mouse handler is set to null
2017-11-04 19:55:32 +00:00
scribam
4600094829
[RSX] Fix uninitialized value before usage
2017-11-04 01:28:53 +03:00
kd-11
daaa83b9ca
rsx: Fix for framebuffer validation
2017-11-04 00:08:30 +03:00
Robbie
3288050680
Have trophy manager reject games that have invalid usr data rather than dying.
2017-11-03 21:15:43 +03:00
Robbie
b8c29ae957
Make it so that TROPUSR doesn't crash on "bad" imput.
2017-11-03 21:15:43 +03:00
Robbie
47bacc0ef0
Make trophy dialog smarter and not need the silly file. Can load all games by default now.
2017-11-03 21:15:43 +03:00
Tahir Akhlaq
3d0dced4bd
change CryptAcquireContextW to try CRYPT_NEWKEYSET flag if key container doesnt exist already < https://msdn.microsoft.com/en-us/library/windows/desktop/aa379886(v=vs.85).aspx >
2017-11-03 14:17:37 +03:00
kd-11
30bba09fed
disable fb testing for partial framebuffer resources
2017-11-02 14:35:19 +03:00
kd-11
31b07f2c5c
rsx: Tweaks
...
- Optimize get_surface_subresource
- Add check_program_status time to draw call setup statistics. It can slow down games significantly
2017-11-02 14:35:19 +03:00
kd-11
f7063bb57b
vk: Improved handling of swap_bytes behaviour when using WCB
2017-11-02 14:35:19 +03:00
kd-11
e4ef85b6e0
rsx: Experimental; Try to calculate pixel offset using nv3062 pitch register since we know the target block is defined with 3062 registers
2017-11-02 14:35:19 +03:00
Nekotekina
b7c2088489
Add supporters
2017-11-01 05:07:12 +03:00
Nekotekina
59cd0a9c7f
Implement set_native_priority (posix)
2017-11-01 05:07:12 +03:00
Nekotekina
af107df0b4
Fix NPDRM exitspawn
2017-11-01 05:07:12 +03:00
Nekotekina
0e7e40f2cb
Fix /dev_bdvd/ for exitspawn
2017-11-01 05:07:11 +03:00
Nekotekina
0b788f5b43
Add Delete LLVM Cache option
2017-11-01 05:07:11 +03:00
scribam
db5c2500c2
Update PPA urls to the latest version of Qt
2017-10-31 09:29:12 +00:00