Commit Graph
28547 Commits
Author SHA1 Message Date
shenweip 0b64d58c7d Fix mistake. 2020-11-18 10:59:45 +08:00
shenweip a16e758f33 Corrects the number of added packets returned by sceMpegRingbufferPut, especially if callback is called multiple times. 2020-11-15 22:02:53 +08:00
Henrik Rydgård e01d538707 Merge pull request #13659 from shenweip/mpeg-multi_streams
Mpeg:Improves the support of multiple streams video.
2020-11-15 09:41:39 +01:00
Henrik Rydgård 486a82331b Merge pull request #13661 from sum2012/sceUsbMic_savestatus_patch
Fix crash in sceusbmic on load old staus then save again
2020-11-15 09:11:13 +01:00
sum2012 c223c18afe Fix crash in sceusbmic on load old staus then save again
Fix #1358 again
2020-11-15 13:16:29 +08:00
shenweip 5e5f5d0164 Makes video streams amount meet the expectation of sceMpegRegistStream() not only the mpegheader. 2020-11-13 18:55:52 +08:00
shenweip 5819ef1f82 Reads all packets to ringbuffer.
Calls callback multiple times to read all packets when the write position reaches the boundary of the ringbuffer.
2020-11-13 18:50:09 +08:00
Henrik Rydgård 668fca01a8 Fix crash on save state. Fixes #13658
Should be ok since the event will get restored next time it's needed
(delayed).
2020-11-12 13:37:48 +01:00
Henrik Rydgård 55981430f6 Merge pull request #13656 from hrydgard/assorted-gl-fixes
Assorted OpenGL fixes
2020-11-11 23:48:45 +01:00
Henrik Rydgård 38684762c8 Fix Star Ocean stencil issue with OpenGL. Fixes #13746 2020-11-11 23:23:31 +01:00
Henrik Rydgård e14437cb3f OpenGL: Assorted shader-depal bugfixes and regression fixes.
Fixes #13517
2020-11-11 23:09:48 +01:00
Henrik Rydgård 653a4bddde Fix check for when to generate packUnorm4x8 replacements 2020-11-11 22:46:25 +01:00
Henrik Rydgård a3d06e366f OpenGL: Detect Adreno model number 2020-11-11 22:46:25 +01:00
Henrik Rydgård c483d3f061 Merge pull request #13655 from sergioroprado/patch-1
Update gamecontrollerdb.txt
2020-11-11 08:50:59 +01:00
Henrik Rydgård 02f1b9db0f Merge pull request #13654 from hrydgard/libretro-lower-resolution-for-effects
Expose the "Lower resolution for effects" setting in libretro.
2020-11-11 08:49:11 +01:00
sergioroprado ac1bb785c5 Update gamecontrollerdb.txt
Add support to Nintendo Switch Joy-cons. See https://github.com/hrydgard/ppsspp/issues/13651
2020-11-10 20:33:40 -03:00
Henrik Rydgård 37e939fcf2 Expose the "Lower resolution for effects" setting in libretro. Fixes #11099 2020-11-11 00:04:02 +01:00
Henrik Rydgård 575ae376a9 Don't try to texture from depth if not supported by backend. Works around #13621 2020-11-10 23:36:33 +01:00
Henrik Rydgård 34efa1281b More consistent use of GLSL precision modifiers, now use them in Vulkan too.
Might help #13464 ?
2020-11-10 22:42:41 +01:00
Henrik Rydgård c61f9bfd09 Fix bug in the new color writemask code, failing to limit it to Outrun properly. Fixes #13650. 2020-11-10 22:07:20 +01:00
Henrik Rydgård d99cba7308 Outrun on OpenGL: Fix weird purple highlight seen on some devices
mediump int is just not enough.
2020-11-10 22:01:57 +01:00
Henrik Rydgård 0510101f6c Fix task switching issue with reinterpret. Fixes #13649 2020-11-10 13:24:52 +01:00
Henrik Rydgård 5eea7435d0 Minor cleanup in GL backend, fixes #13647
Was a stray old texture in boundTextures_ in thin3d. Now makes sure to
invalidate them, and also make it possible to look up bound framebuffer
textures when checking for valid tex parameters.
2020-11-10 00:13:44 +01:00
Henrik Rydgård 9f33a82b49 Merge pull request #13646 from hrydgard/framebuffer-fetch-fixes
Framebuffer fetch fixes
2020-11-09 19:30:35 +01:00
Henrik Rydgård 81024d9ec0 Merge pull request #13643 from hrydgard/move-shader-translations
Reorganize end of fragment shader, move shader translator to Common
2020-11-09 19:30:12 +01:00
Henrik Rydgård 85fd7c26f7 Merge branch 'master' into framebuffer-fetch-fixes 2020-11-09 18:14:42 +01:00
Henrik Rydgård a31fc4087b D3D11: Fix writing to SV_Depth. Fixes #13641 2020-11-09 16:05:28 +01:00
Henrik Rydgård ba139975e0 Linker fix - need to move init_resources along. 2020-11-09 15:39:46 +01:00
Henrik Rydgård 5668ad9e02 Merge pull request #13645 from sum2012/mpeg_minor
Mpeg:Revert part of https://github.com/hrydgard/ppsspp/commit/fa59be7e5db1526d07de75f6d7c14b94e98809e6
2020-11-09 14:18:03 +01:00
sum2012 1f494cf234 Mpeg:Revert part of https://github.com/hrydgard/ppsspp/commit/fa59be7e5db1526d07de75f6d7c14b94e98809e6
Fix #13595
2020-11-09 20:57:40 +08:00
Henrik Rydgård 69108ab2e9 On GLES3, GL_EXT_shader_framebuffer_fetch works a little differently. 2020-11-09 13:32:49 +01:00
Henrik Rydgård 2384b7a17d Remove support for NV_shader_framebuffer_fetch extension, very old and rare.
Minor refactor.
2020-11-09 13:31:39 +01:00
Henrik Rydgård e77a9d7368 Reorganize the end of the fragment shader generator.
Thanks unknown.
2020-11-09 11:19:02 +01:00
Henrik Rydgård 864cc54aa4 Remove ForceGL2 flag. Add comments... hm. 2020-11-09 11:18:43 +01:00
Henrik Rydgård 766dbc5a9f Move ShaderTranslation.cpp/h to Common/GPU. 2020-11-09 11:18:43 +01:00
Henrik Rydgård 669c18a088 Fix crashes on exit (Vulkan). Should help #13223 2020-11-09 11:13:44 +01:00
Henrik Rydgård 50619af71d Fix HLSL shader gen issue 2020-11-09 09:10:44 +01:00
Henrik Rydgård b9dd866c2d Merge pull request #13640 from hrydgard/shader-color-write-mask
Fix car reflections in Outrun by implementing per-bit color masking
2020-11-09 08:45:28 +01:00
Henrik Rydgård 0c3ead1437 Temporarily disable GL frame-init error checks, see #13639 2020-11-09 00:30:24 +01:00
Henrik Rydgård 6310af25fa Get shader color write masking going on all backends. 2020-11-08 23:45:47 +01:00
Henrik Rydgård 7632c12189 Merge pull request #13637 from hrydgard/shaderblend-cleanup
Shaderblend code cleanup
2020-11-08 18:50:22 +01:00
Henrik Rydgård 0193fd278d Merge pull request #13638 from sum2012/AuCtx_minor
Fix AuCheckStreamDataNeeded function
2020-11-08 16:05:33 +01:00
sum2012 942ce775cc Fix AuCheckStreamDataNeeded function
fix #13633
2020-11-08 22:47:32 +08:00
Henrik Rydgård 7391abcfd6 Unrelated warning fixes 2020-11-08 14:57:43 +01:00
Henrik Rydgård 3e06eaccfb Fix some comments 2020-11-08 14:57:35 +01:00
Henrik Rydgård 793e89d2e3 Fix some comments, rename a function. 2020-11-08 14:34:04 +01:00
Henrik Rydgård 391b8155c5 More work on detangling the concepts and making things make more sense. 2020-11-08 13:14:23 +01:00
Henrik Rydgård 3d289594f9 ShaderBlend and FramebufferRead are separate concepts. Reflect that in naming.
The former has forms that don't need to read the framebuffer.

This exposes that some logic is wrong...
2020-11-08 12:54:05 +01:00
Henrik Rydgård 2aa9ee97f4 Simplify shader blend logic in FragmentShaderGenerator.cpp 2020-11-08 12:54:05 +01:00
Henrik Rydgård ee46629608 Merge pull request #13636 from hrydgard/reinterpret-framebuffer-formats
Reinterpret framebuffer formats as needed. Outrun reflections partial fix
2020-11-08 12:53:45 +01:00