Commit Graph

32021 Commits

Author SHA1 Message Date
Henrik Rydgård
7cab540fca Short circuit the texture replacement code 2022-03-08 19:56:06 +01:00
Henrik Rydgård
d50da7dc55 Don't track small wide-stride block transfers 2022-03-08 19:46:00 +01:00
Henrik Rydgård
81fcb3cd04
Merge pull request #15426 from unknownbrackets/softgpu-debug
softgpu: Fix build with basic logging
2022-03-05 10:41:43 +01:00
Unknown W. Brackets
da4b9e82f3 softgpu: Fix build with basic logging. 2022-03-05 00:08:09 -08:00
Henrik Rydgård
47ff758af1
Merge pull request #15424 from unknownbrackets/path-unc
Windows: Create SYSTEM directory early
2022-03-02 09:50:42 +01:00
Unknown W. Brackets
73ece5b5ca Windows: Correct root vol handling for UNC paths.
Otherwise CreateFullPath() fails.
2022-03-01 21:07:17 -08:00
Unknown W. Brackets
0e932ba274 Windows: Create SYSTEM directory early.
On UNC, we see paths as absolute and don't auto-create this on config
load.  We should really create it here anyway.
2022-03-01 19:36:36 -08:00
Henrik Rydgård
3bfab6326a
Merge pull request #15418 from iota97/crash
Show game crashed title
2022-02-24 13:23:37 +01:00
iota97
5cf6621191 Show game crashed 2022-02-24 12:25:04 +01:00
Henrik Rydgård
e98e48e2e9
Merge pull request #15416 from unknownbrackets/gles-invalidate
GLES: Remove old invalidation code
2022-02-21 22:03:01 +01:00
Unknown W. Brackets
1ba8f1fa0a GLES: Remove old invalidation code.
We must've changed something to a KEEP, this never seems to catch anything
now.
2022-02-21 09:34:16 -08:00
Henrik Rydgård
dcc4decd64
Merge pull request #15415 from unknownbrackets/gles-dualsrc
GLES: Add asserts for correct blend usage
2022-02-21 18:23:22 +01:00
Unknown W. Brackets
c20f352be2 GLES: Add asserts for correct blend usage.
Also make sure we don't try to use ARB blending on GLES.
2022-02-21 08:57:21 -08:00
Henrik Rydgård
f1b3495446
Merge pull request #15414 from unknownbrackets/gles-dualsrc
GLES: Use EXT not GLES3 for dualsrc blend support
2022-02-21 08:38:36 +01:00
Unknown W. Brackets
bbce43684c GLES: Use EXT not GLES3 for dualsrc blend support.
See #15413, thanks icecream95.
2022-02-20 23:19:43 -08:00
Henrik Rydgård
40e9c73fc3
Merge pull request #15412 from unknownbrackets/framedump-dupe
Debugger: Track unchanged VRAM to avoid copy
2022-02-21 00:12:18 +01:00
Unknown W. Brackets
539e2bbbf8 Debugger: Track unchanged VRAM to avoid copy.
See #15251, the framedump here reused a VRAM texture for many draws, and
this caused it to recopy the texture over and over again.  Use a flag to
skip if possible.
2022-02-20 13:51:40 -08:00
Henrik Rydgård
eb765a80f8
Merge pull request #15411 from unknownbrackets/softgpu-range
softgpu: Apply region x2/y2 as a scissor
2022-02-20 21:42:00 +01:00
Henrik Rydgård
474b8a26c1
Merge pull request #15409 from hrydgard/upgrade-vulkan-headers
Upgrade to Vulkan 1.3 headers (and remove the .hpp files)
2022-02-20 21:36:34 +01:00
Henrik Rydgård
14000a562a Also delete vulkan_funcs.hpp, oops 2022-02-20 21:28:01 +01:00
Unknown W. Brackets
1d0936ea79 Debugger: Improve drawing range in softgpu.
We don't always want all of region, particularly if scissor is a regular
screen size.  This improves debugging in GoW.
2022-02-20 12:21:48 -08:00
Henrik Rydgård
16b8bc19a7
Merge pull request #15389 from unknownbrackets/softgpu-rect
Draw rectangles always using a specialized path in softgpu
2022-02-20 21:03:18 +01:00
Unknown W. Brackets
e3aabdc86c softgpu: Use region as a second scissor.
It's effectively a scissor in the common case of REGION1 being zero.
2022-02-20 12:01:35 -08:00
Unknown W. Brackets
ff5edb2bbc softgpu: Correct accounting for pixel center.
Filtering is still not perfect but this makes different orientations
better.
2022-02-20 10:50:59 -08:00
Unknown W. Brackets
df1a91ee25 samplerjit: Correct nearest negative texture clamp.
Was not clamping to zero when negative.
2022-02-20 10:25:00 -08:00
Unknown W. Brackets
e1eb4ba94a softgpu: Directly implement rectangle drawing. 2022-02-20 09:58:01 -08:00
Unknown W. Brackets
cc6491342e softgpu: Prepare dedicated rectangle path.
We're still sometimes using the slow rect-as-triangles path, let's do
something faster.  As a first step, just handle binning.
2022-02-20 09:38:51 -08:00
Henrik Rydgård
bc71a0d8e2
Merge pull request #15410 from unknownbrackets/softgpu-verts
softgpu: Remove offset from screenpos, adjust filtering coords
2022-02-20 18:38:26 +01:00
Unknown W. Brackets
6737d69f0a softgpu: Cleanup some now unused state. 2022-02-20 09:19:48 -08:00
Unknown W. Brackets
a88c9a0680 softgpu: Remove incorrect offsetting for X/Y. 2022-02-20 09:13:20 -08:00
Unknown W. Brackets
1bc3acf2ed softgpu: Use a const for subpixel screenpos factor. 2022-02-19 21:03:49 -08:00
Unknown W. Brackets
a66377fdf1 softgpu: Remove offset from screenpos.
This simplifies tighter calculations, and reduces the common magnitudes
we'll be dealing with.
2022-02-19 20:38:44 -08:00
Henrik Rydgård
68160a1a77 Upgrade to Vulkan 1.3 headers (and remove the .hpp files) 2022-02-19 20:41:04 +01:00
Henrik Rydgård
7f505c0c23 Gradle upgrade again. Remove some redundant version checks
(we don't support Android versions older than Gingerbread anyway)
2022-02-19 18:41:29 +01:00
Henrik Rydgård
f53d7717ec
Merge pull request #15408 from iota97/theme-bg
Allow to set default background color in a theme
2022-02-18 23:50:26 +01:00
iota97
1d37ec48a4 Allow to set default background color in a theme 2022-02-18 21:02:07 +01:00
Henrik Rydgård
86681f02bc
Merge pull request #15396 from hrydgard/ui-tint-saturate
Add UI Tint/Saturation settings
2022-02-18 15:13:00 +01:00
iota97
b1cf29bb38 Fix live update 2022-02-18 14:24:48 +01:00
Henrik Rydgård
981f5dd634 Make the untextured uniform buffer the same size. 2022-02-18 14:24:48 +01:00
iota97
3f505f760c Disable darkening background, also allow to over saturate up to 2 2022-02-18 14:24:46 +01:00
Henrik Rydgård
ce2995f952 Add UI Tint/Saturation settings
Does the color tinting in the vertex shader.
2022-02-18 14:23:57 +01:00
Henrik Rydgård
e88ddbb42a
Merge pull request #15394 from iota97/theme
Allow custom UI themes
2022-02-17 10:45:13 +01:00
Henrik Rydgård
9bc6b96556
Merge pull request #15405 from unknownbrackets/softjit-sse2
Fix some samplerjit issues without SSE4 or AVX
2022-02-16 07:42:05 +01:00
Unknown W. Brackets
7a7bb7dd3e
Merge pull request #15390 from rofl0r/ci_source_release
CI: add github action to build source release tarball with submodules
2022-02-15 20:17:19 -08:00
Unknown W. Brackets
ad18833a4f samplerjit: Fix non-SSE4 bugs in jit. 2022-02-15 20:13:38 -08:00
Unknown W. Brackets
a201d3f561 samplerjit: Fix non-AVX three-op shift.
Oops, was still shifting the source register.
2022-02-15 20:12:45 -08:00
Henrik Rydgård
1f71a69be2 Unhide "Cache ISO in RAM" on ARM platform. Not the right block level. We should probably check for available RAM instead. 2022-02-15 13:18:56 +01:00
iota97
aa9d097d11 More fixes for themes 2022-02-14 15:07:33 +01:00
iota97
561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
iota97
7860aea62f Fix disabled bg 2022-02-14 11:30:37 +01:00