Commit Graph
39166 Commits
Author SHA1 Message Date
Unknown W. Brackets 4861cadb79 arm64jit: Fix reg size in jr delay slot path.
Can't use the 64-bit reg.
2018-04-04 06:58:12 -07:00
Henrik Rydgård d3164d77d4 Merge pull request #10845 from LunaMoo/SSAAflag
Add SSAA flag for post process shaders
2018-04-04 15:40:26 +02:00
Henrik Rydgård 3f89cccd3d Merge pull request #10861 from unknownbrackets/vertexdec
GPU: Fix s8 norm with skin and morph
2018-04-03 07:38:55 +02:00
Unknown W. Brackets d70568abd2 GPU: Fix s8 norm with skin and morph.
Fixes #10851.
2018-04-02 19:18:16 -07:00
Henrik Rydgård e51fdace3f Merge pull request #10858 from LunaMoo/pauseMenuExit
Add "--pause-menu-exit" option.
2018-04-02 23:32:01 +02:00
LunaMoo e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
LunaMoo ffac542f95 Change to int to allow higher supersampling scale. 2018-04-02 13:44:28 +02:00
Henrik Rydgård 62666ff47d Merge pull request #10853 from unknownbrackets/postshader
Display post-shader compilation errors to user as before
2018-04-02 10:59:36 +02:00
Henrik Rydgård bde16ebad7 Merge pull request #10856 from unknownbrackets/android-shortcut
Android: Fix initial start from shortcut
2018-04-02 10:54:00 +02:00
Unknown W. Brackets 895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Unknown W. Brackets c6ef547176 GLES: Show post-shader compile errors to user. 2018-04-01 19:47:19 -07:00
Unknown W. Brackets 98d4131003 Vulkan: Show post-shader compile errors to user. 2018-04-01 19:47:19 -07:00
Unknown W. Brackets db756b6aeb GLES: Show post-shader translate errors to user.
Usually these should be syntax errors, so better to let them know it
happened.
2018-04-01 19:47:02 -07:00
Henrik Rydgård 0d677fff87 Merge pull request #10847 from unknownbrackets/arm64jit
arm64jit: Update rounding mode on thread switch
2018-04-01 22:11:26 +02:00
Unknown W. Brackets ab809bd19e jit: Apply hasSetRounding at compile time.
Otherwise, the block will be executed with the wrong rounding mode the
first time rounding is set.  This could be important if it was set for a
single operation.

This is only a problem the first time it's set.
2018-04-01 10:36:16 -07:00
Unknown W. Brackets 09e307b097 arm64jit: Update rounding mode on thread switch.
Since fcr31 is per-thread, we must update jit state when it changes.
This also fixes the rounding mode on load state and jit/interp switch.
2018-04-01 10:12:32 -07:00
LunaMoo 199106cad6 Add SSAA flag for post process shaders,
enforces 2x auto resolution, to be used with blurry effects
Also includes a perf. friendly example using simplified gauss filter
2018-04-01 17:00:10 +02:00
Henrik Rydgård 9d2a8a7647 Merge pull request #10844 from unknownbrackets/arm64jit
arm64jit: Fix a case of R() on unmapped
2018-04-01 09:29:45 +02:00
Unknown W. Brackets 7d3fac2b4b arm64jit: Fix a case of R() on unmapped.
But this probably means a game crash anyway...

Attempting to fix #10843.
2018-03-31 22:34:05 -07:00
Unknown W. Brackets 4fbb68d505 arm64jit: Update some comments. 2018-03-31 21:03:23 -07:00
Henrik Rydgård 170b600835 Oops, fix mistake in #10834 2018-03-29 16:21:58 +02:00
Henrik Rydgård 1b39b4b16c Merge pull request #10833 from hrydgard/texcache-fb-fix
When binding a framebuffer to a texcache entry, delete its texture. Should help #10823
2018-03-29 16:01:22 +02:00
Henrik Rydgård c2d5ce6c3e Merge pull request #10834 from hrydgard/vulkan-shader-cache-renderpasses
Include renderpass definition in Vulkan shader cache entries, should make it more effective again.
2018-03-29 15:00:34 +02:00
Henrik Rydgård d160292f54 Include renderpass definition in Vulkan shader cache entries, should make it more effective again. 2018-03-29 14:36:04 +02:00
Henrik Rydgård c41273d333 When binding a framebuffer to a texcache entry, delete its texture. Should help #10823 2018-03-29 13:29:09 +02:00
Henrik Rydgård 385a482000 Merge pull request #10828 from webgeek1234/master
More libretro fixes
2018-03-29 10:05:58 +02:00
Aaron Kling 955652cc35 Libretro needs core staticly linked even on Android 2018-03-28 18:16:56 -05:00
Henrik Rydgård 01be9ff8cf Merge pull request #10827 from webgeek1234/master
Fix libretro compile for gles platforms
2018-03-28 23:31:29 +02:00
Aaron Kling cafd7339d7 Fix libretro compile for gles platforms 2018-03-28 14:15:39 -05:00
Henrik Rydgård ff0e0df61d Merge pull request #10821 from hrydgard/opengl-texture-wrap-fix
OpenGL: Fix texture wrapping of render targets.
2018-03-28 13:22:08 +02:00
Henrik Rydgård 01d81ffa72 OpenGL: Fix texture wrapping of render targets. 2018-03-28 11:23:41 +02:00
Unknown W. Brackets b2941014f2 Merge pull request #10816 from hrydgard/fix-restore-pause-screen
Android: Properly restore savestate screenshots on the Pause screen on task switching away and back.
2018-03-27 22:51:20 -04:00
Henrik Rydgård 8d0285dedd Android: Properly restore screenshots on the Pause screen on task switching away and back.
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård 6505f7762c GCC buildfix (can't use things without definitions in templates).
Could also have included base/logging.h but meh.
2018-03-27 16:28:33 +02:00
Henrik Rydgård d125fa00e1 Make sure the renderpass cache hashmap is never accessed from the main thread at runtime. Should help #10811 2018-03-27 14:45:41 +02:00
Henrik Rydgård 29de4b5a18 Merge pull request #10809 from libretro/master
Libretro: add D3D11 support / fix GL context reset.
2018-03-27 09:23:30 +02:00
Leo c637023cd6 Fixed the new shader error on OpenGL ES (#10799)
* Fixed the new shader error on OpenGL ES

* Fixed Natural Color PP shader error on OpenGL ES

* Updated to match the changes.

* Delete naturalA.vsh
2018-03-26 21:28:32 +02:00
Henrik Rydgård cb020f65bd Merge pull request #10804 from unknownbrackets/texhash
TexCache: unit test the quick tex hash
2018-03-26 21:27:50 +02:00
Henrik Rydgård 0130e75852 Merge pull request #10801 from unknownbrackets/sdl-shutdown
Fix shutdown segfault in SDL, fix headless
2018-03-26 21:10:48 +02:00
aliaspider bb64390632 Libretro: update Makefiles. 2018-03-26 17:52:35 +01:00
aliaspider 4202ae58bd Libretro: style nits. 2018-03-26 17:37:34 +01:00
aliaspider 5a9ce3bc19 Libretro: set cache_context to true, fixes GL and D3D11 context reset. 2018-03-26 17:21:11 +01:00
aliaspider dc490b3fc6 Libretro: msvc build fix. 2018-03-26 15:08:34 +01:00
Henrik Rydgård a153181e4a Don't leave "reduceHash_" uninitialized. Probably won't help #10796 though.. 2018-03-26 12:33:36 +02:00
Unknown W. Brackets 2f26fdff27 TexCache: unit test the quick tex hash.
Just a few sample cases to make sure it's behaving correctly.
2018-03-25 18:52:16 -07:00
aliaspider 808bf8e681 Libretro: add experimental D3D11 support. 2018-03-25 23:07:02 +01:00
aliaspider 4d1503666a Libretro: update libretro.h 2018-03-25 23:05:47 +01:00
Henrik Rydgård f39897cfa5 Don't forget to initialize.. fixes #10802 2018-03-26 00:05:29 +02:00
Unknown W. Brackets 0366e05c44 Headless: Quick update to use render thread. 2018-03-25 14:49:22 -07:00
Unknown W. Brackets 0d10bb8515 SDL: Fix shutdown ordering.
This fixes the segfault on quit.
2018-03-25 14:19:02 -07:00