Commit Graph
45601 Commits
Author SHA1 Message Date
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
iota97 f4b5c16e1b Allow translation 2022-02-14 07:59:18 +01:00
iota97 e5843160fe Add themes to assets 2022-02-14 07:37:56 +01:00
Henrik Rydgård 858539c5b0 Merge pull request #15402 from unknownbrackets/debugger-highlight
GE Debugger: Highlight changed state values
2022-02-13 21:42:43 +01:00
Unknown W. Brackets 957e15f23a GE Debugger: Highlight changed matrix values. 2022-02-13 10:53:01 -08:00
Unknown W. Brackets 8ffef9dd1e GE Debugger: Highlight changed state values.
This way it's easy to tell while stepping what is different.  Especially
useful in the watch tab.
2022-02-13 10:52:41 -08:00
Henrik Rydgård f79bc927eb Merge pull request #15401 from unknownbrackets/debugger-scroll
Debugger: Avoid scroll on breakpoint add
2022-02-13 19:30:34 +01:00
Unknown W. Brackets 71e855a822 GE Debugger: Track last gstate on stepping. 2022-02-13 10:22:59 -08:00
Unknown W. Brackets b654ee9d44 Debugger: Allow custom draw and generic lists. 2022-02-13 10:22:38 -08:00
Unknown W. Brackets ea6c42aafb Debugger: Avoid scroll on breakpoint add. 2022-02-13 07:57:54 -08:00
Unknown W. Brackets 9435938ad9 Debugger: Cleanup some header pollution.
Also simplify just a bit.
2022-02-13 07:55:34 -08:00
Henrik Rydgård df1a15938d Merge pull request #15399 from unknownbrackets/softgpu-vertices
Convert more verts to rects, fix strip/fan skew on clip
2022-02-13 15:28:16 +01:00
Henrik Rydgård 83318c55b3 Merge pull request #15400 from unknownbrackets/softgpu-frameskip
softgpu: Track dirty vs really dirty per buffer
2022-02-13 15:26:21 +01:00
Unknown W. Brackets 7cef06c191 softgpu: Track dirty vs really dirty per buffer.
When games draw and display with a frame lag, it becomes important that we
indicate really dirty for the correct buffer.  Since some triple buffer,
this attempts to track at the buffer level using 1024 byte granularity.
2022-02-12 15:27:18 -08:00
Unknown W. Brackets 3d4c1548b6 softgpu: Allow tri -> rect in transform. 2022-02-12 12:03:55 -08:00
Unknown W. Brackets 259b10d42a softgpu: Turn more tri strips into rects.
This catches a common case in Valkyrie Profile.
Rotation is resolved by just always using tl/br.
2022-02-12 11:33:42 -08:00
Unknown W. Brackets 2381f355c2 softgpu: Combine tris to rects with ignored z too. 2022-02-12 11:33:36 -08:00
Unknown W. Brackets 85cb4101dc softgpu: Cleanup todos on perspective correctness.
Only the texture appears to be perspective corrected.  Color is simply
linear.
2022-02-12 10:55:53 -08:00
Unknown W. Brackets 8e7bc80e4b softgpu: Avoid modifying source vertex data.
This was dangerous for strips and fans, which reuse the verts for
subsequent primitives.
2022-02-12 10:39:25 -08:00
iota97 65b7b65bcd Adress feedback 2022-02-12 18:30:55 +01:00
Unknown W. Brackets 4c095ce063 Merge pull request #15397 from iota97/comment-fix
Keep comment up to date
2022-02-11 20:27:03 -08:00