Commit graph

28322 commits

Author SHA1 Message Date
Henrik Rydgård
1405e28166 More buildfixes 2020-10-16 00:24:12 +02:00
Henrik Rydgård
a8d3f30c12
Merge pull request #13549 from leopard20/master
Fix "naturalA" - Natural Colors (no blur) - postprocessing shader
2020-10-15 23:53:00 +02:00
Leo
5c387ce413
Removed unused texel info 2020-10-15 19:01:24 +03:30
Leo
f3514704b1
Added new vertex shader file naturalA.vsh
This fixes the trembling issue
2020-10-15 18:57:24 +03:30
Leo
370d6ef62d
Removed unnecessary vertex coords 2020-10-15 18:56:04 +03:30
Leo
6c2aa86225
Replaced shader vertex file for naturalA
Vertex shader file is different now. Not sure why I was using the old one anyway.
2020-10-15 18:54:50 +03:30
Henrik Rydgård
1269977aa1
Merge pull request #13548 from aliaspider/libretro-fixes
Libretro: add SYSPROP_DISPLAY_SAFE_INSET* properties. fixes screen size.
2020-10-15 05:52:02 +02:00
aliaspider
b5f7f5350a Libretro: add SYSPROP_DISPLAY_SAFE_INSET* properties. fixes screen frame
size.
2020-10-15 00:10:36 +01:00
Henrik Rydgård
74f8b3c69a Yet another one 2020-10-15 00:03:47 +02:00
Henrik Rydgård
f46759be5a Another missing header buildfix
thanks autechre
2020-10-14 23:49:59 +02:00
Henrik Rydgård
c1b52c398b Minor cleanups related to #13527
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
2020-10-14 23:45:19 +02:00
Henrik Rydgård
dc3c161b21 Add missing include in URL.h
Thanks autechre.
2020-10-14 23:30:51 +02:00
Henrik Rydgård
b3deaab963 VS 2017 buildfix hack - these parameters are new to Windows.
Thanks autechre.
2020-10-14 23:15:49 +02:00
Henrik Rydgård
6cc8c2ebc1
Merge pull request #13328 from hrydgard/libretro-fixes
Fix libretro with Vulkan
2020-10-14 22:08:11 +02:00
Henrik Rydgård
b8e8325888 Fix text issue in God Eater Burst. Forgot that games can allocate texture in volatile memory too.
We considered any texture from kernel memory "reliable", which is wrong
since games can allocate out of the upper half of kernel RAM, which is
called "volatile" memory.

Fixes issue #13511
2020-10-14 00:09:08 +02:00
Henrik Rydgård
8367b10d9d
Merge pull request #13543 from aliaspider/kirkfix
libkirk: fix buffer overflow.
2020-10-13 08:45:27 +02:00
aliaspider
1aff9b3e2b Vulkan: fix stack overflow. 2020-10-13 06:05:30 +01:00
aliaspider
8bff088bb3 libkirk: fix buffer overflow. 2020-10-13 03:08:03 +01:00
Henrik Rydgård
2127524b35 Fix a couple of issues with #13477, found by aliaspider.
Might help #13494 and other freezing issues.
2020-10-12 23:00:06 +02:00
Henrik Rydgård
615e07ffcc
Merge pull request #13541 from hrydgard/vk-accurate-render-area
VK: Whenever safely possible, shrink the render area.
2020-10-12 00:24:39 +02:00
Henrik Rydgård
332bb7feeb VK: Whenever safely possible, shrink the render area.
We just set the render area to the union of the scissor rects used in a pass.

Might help some games on some mobile hardware, a little bit.

Possibly #13464?
2020-10-11 23:23:25 +02:00
Henrik Rydgård
495fd9a13c Fix OpenGL crash introduced in #13536 2020-10-11 22:34:37 +02:00
Henrik Rydgård
61567796a2 libretro: Fix screen size problem in Vulkan.
(Still something is slightly off, there are duplicated lines on screen.
Can't figure out what)
2020-10-11 20:26:39 +02:00
Henrik Rydgård
dffc36b854 Get Vulkan going again with libretro. Rendering is the wrong size and crashes on exit, but it's a start.
Only tested on Windows.
2020-10-11 19:06:09 +02:00
Henrik Rydgård
ced83b4785 Libretro/VK: Add a README for debugging, so I don't forget. Minor cleanups. 2020-10-11 19:06:09 +02:00
Henrik Rydgård
afb35c3be3 Fix GPU profile display on notched screens 2020-10-11 19:04:35 +02:00
Henrik Rydgård
bdbf0b6590
Merge pull request #13532 from ANR2ME/adhoc_fix
Adhoc fix - Fix disconnection issue due to unexpected timeout
2020-10-11 13:24:39 +02:00
Henrik Rydgård
444c5e3b6b
Merge pull request #13537 from hrydgard/track-pipeline-flags
VK: Track and accumulate pipeline flags for render passes.
2020-10-11 13:19:38 +02:00
Henrik Rydgård
91cb1a4861 compat.ini: Add ID for European version of Car Jack Streets 2020-10-11 13:08:44 +02:00
Henrik Rydgård
5ece3de8ba Track and accumulate pipeline flags for render passes.
(Information that will later let us make some interesting optimizations)
2020-10-11 12:22:25 +02:00
Henrik Rydgård
4ff059d3d8
Merge pull request #13535 from hrydgard/vk-separate-layout-transition
Vk: Separate layout transitions from renderpasses again.
2020-10-11 12:22:11 +02:00
Henrik Rydgård
9d78ba93e0 Bugfix 2020-10-11 11:17:43 +02:00
Henrik Rydgård
cccdfe4143
Merge pull request #13534 from shenweip/workaround-dateLimited
Workaround for date bug in Car Jack Streets.
2020-10-11 11:08:40 +02:00
Henrik Rydgård
692048fb8b VK: Separate layout transitions from renderpasses again.
According to sage advice from themaister, this is just unnecessary overengineering.

Having them separate reduces the size of the renderpass key - we might be able to just
change that to an array lookup again. Will also make it easier to in the future add
depth-less render passes.
2020-10-11 11:06:54 +02:00
Henrik Rydgård
940611fe65 Remove the USE_GENERAL_LAYOUT_FOR* debug defines. 2020-10-11 11:06:54 +02:00
Henrik Rydgård
e870b29e85
Merge pull request #13536 from hrydgard/vk-copy-depth-if-cant-blit
VK: Copy depth buffer if we can't blit. Some GPUs can't blit to depth.
2020-10-11 11:05:59 +02:00
Henrik Rydgård
dc0f7ca8ee VK: Copy depth buffer if we can't blit. Some GPUs can't blit to depth.
Fixes some recent issues with Intel GPUs on Vulkan.
2020-10-11 10:57:35 +02:00
shenweip
2d68dc1c16 Workaround for date bug in Car Jack Streets. 2020-10-11 16:19:06 +08:00
ANR2ME
00b11115bb Fixed timeout issue due to the latest CoreTiming::GetGlobalTimeUsScaled() have a possibility to get smaller number than the previous one. 2020-10-11 13:34:30 +07:00
ANR2ME
59e2bab7ec Added some network-related missing error codes. 2020-10-11 09:57:56 +07:00
Henrik Rydgård
b3cf097e77
Merge pull request #13530 from hrydgard/block-transfer-ff-type-0
Create a safer variant of BlockTransferAllowCreateFB, enable for FF Type 0
2020-10-11 01:00:08 +02:00
Henrik Rydgård
b28baed7d3 Create a safer variant of BlockTransferAllowCreateFB, enable for FF Type 0
Performance improvement by avoiding unnecessary readbacks.

New one is called IntraVRAMBlockTransferAllowCreateFB.

This one only allows intra-VRAM block transfers to happen on-GPU, such as the one this
game uses for bloom. Good chances to avoid missing stuff that actually requires
real readback, if there's any.
2020-10-10 23:59:51 +02:00
Henrik Rydgård
3fe1e35e3c Merge branch 'shenweip-warning' 2020-10-10 19:23:24 +02:00
Henrik Rydgård
3788537ddc Fix additional snappy warnings. 2020-10-10 19:21:12 +02:00
shenweip
a66cb1237d Warning fixes. 2020-10-10 19:18:46 +02:00
Henrik Rydgård
291f17e279
Merge pull request #13526 from hrydgard/double-precision-sincos-modulo
VFPU: Compute sines and cosines in double precision.
2020-10-10 19:07:38 +02:00
Henrik Rydgård
e97baa503a Avoid a division in time_now_d(). Minor optimizations. 2020-10-10 19:05:46 +02:00
Henrik Rydgård
16654d37ea VFPU: Compute sines and cosines in double precision.
Let's see if we can do without the special checks in double precision.
2020-10-10 17:45:42 +02:00
Henrik Rydgård
1e923d52f3
Merge pull request #13528 from iota97/windowed
Make --windowed available on all platform
2020-10-10 17:40:15 +02:00
iota97
4c0908ef44 Make Qt apply fullscreen change from UI as well 2020-10-10 16:26:07 +02:00