Henrik Rydgård
a7d7631feb
Merge pull request #14369 from unknownbrackets/zstd
...
Use zstd for save states, GE frame dumps, and ZIMs
2021-04-12 08:35:58 +02:00
Unknown W. Brackets
a97030068c
GE Debugger: Use zstd for save states.
2021-04-11 09:13:10 -07:00
Unknown W. Brackets
d3e2aa6d28
Build: Add libzstd to build.
2021-04-11 09:13:10 -07:00
Henrik Rydgård
7e8a94e7de
Merge pull request #14366 from unknownbrackets/shader-errors
...
Fix some shader errors from reporting
2021-04-11 08:09:09 +02:00
Unknown W. Brackets
ca1a936d56
GPU: Stop using Off as terminator for postshaders.
...
There's really no need to have a dummy entry at the end of the array.
2021-04-10 18:35:23 -07:00
Unknown W. Brackets
3c09b5c010
GLES: Always use fragColor0 on GL 3.0+.
2021-04-10 16:26:39 -07:00
Unknown W. Brackets
c18236b5fa
GPU: Avoid switch on uint.
...
Vivante seems to get confused.
2021-04-10 14:01:33 -07:00
Unknown W. Brackets
a23c9e6a41
GPU: Preconvert light vecs to Vec3f.
...
This might align better for simd anyway, but should also prevent any
memory over-reads. See #14353 .
2021-04-05 20:55:52 -07:00
Unknown W. Brackets
e1e830c3b0
Debugger: Include src tag in Memory::Memcpy.
2021-04-03 18:14:59 -07:00
Unknown W. Brackets
8a9979b50e
Debugger: Include framebuffer in framebuf pack tag.
2021-04-03 18:11:44 -07:00
Unknown W. Brackets
ee749804fc
Debugger: Note GPU block transfer src as well.
2021-04-03 18:11:44 -07:00
Unknown W. Brackets
aa89ed5111
Debugger: Include source tag in memcpys.
2021-04-03 18:11:44 -07:00
Unknown W. Brackets
a42d3834f2
Build: Remove "fake" vertex decoder jit.
...
We don't really need this. Just replace it with a stub that always fails
to generate a vertex decoder.
2021-03-20 17:06:21 -07:00
Paul Cercueil
ce0af0743c
VertexDecoderFake: Fix build
...
Fix build of VertexDecoderFake.
Tested on MIPS.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-17 21:48:12 +00:00
Henrik Rydgård
4e1bc2b3e0
Further std::string removal
2021-03-13 17:55:07 +01:00
Henrik Rydgård
42186e8e9e
Warning fix, memleak fix
2021-03-11 23:28:02 +01:00
Henrik Rydgård
98f593fd5d
Only do the workaround in #14273 in Vulkan. May help #14280
2021-03-11 09:14:36 +01:00
Henrik Rydgård
3ac405ab5d
GLSL vulkan: Specify the precision of function arguments. Works around #14269
2021-03-09 00:09:00 +01:00
Henrik Rydgård
409a2b5e28
Work around crash in texture replacement. See #14252
2021-03-08 00:55:17 +01:00
Henrik Rydgård
f8ad621df5
PipelineManagerVulkan: Log shader source when pipeline creation fails.
2021-03-08 00:12:38 +01:00
Henrik Rydgård
71707b5102
Fix bug in vertex shader generator. See #14260 .
2021-03-05 12:32:06 +01:00
Henrik Rydgård
57d4c4f406
Merge pull request #14250 from unknownbrackets/config-defines
...
Cleanup ppsspp_config.h usage
2021-03-03 08:58:00 +01:00
Unknown W. Brackets
d010f07529
GPU: Ignore replacements for framebufs.
...
Since these don't specify the texture hash/etc. info.
More importantly, prevents a crash.
2021-03-02 23:54:35 -08:00
Unknown W. Brackets
4178f09e57
Build: More consistently avoid _M_ defines.
...
We use PPSSPP_ARCH in several places already, this makes it more complete.
2021-03-02 21:49:21 -08:00
Unknown W. Brackets
d9aecffd72
Build: Remove old ARM define.
2021-03-02 21:26:03 -08:00
Unknown W. Brackets
e621aca9ba
Build: Remove MIPS define.
...
We shouldn't want to use that anyway, for conflicts...
2021-03-02 21:14:09 -08:00
Unknown W. Brackets
5119d79082
Build: Remove IOS define.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
13ec384dbe
Build: Explicitly include ppsspp_config.h.
...
This adds it to all files that use it. Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Henrik Rydgård
0facd4d4a6
Merge pull request #14230 from unknownbrackets/texreplace
...
Support texture replacement filtering overrides
2021-02-28 18:09:38 +01:00
Henrik Rydgård
08c917fe7b
Merge pull request #14233 from unknownbrackets/texoffset
...
GPU: Dirty texparams when cropping a self-copy
2021-02-28 18:09:02 +01:00
Unknown W. Brackets
7c7b1dafa0
GPU: Dirty texparams when cropping a self-copy.
...
If we used UV to limit the blit, we may need to do the blit again next
time, so re-examine texture params.
2021-02-28 08:20:46 -08:00
Unknown W. Brackets
64484a59e6
GPU: Normalize zero consistently in hw transform.
2021-02-28 00:05:10 -08:00
Unknown W. Brackets
2f63f9999d
GPU: Normalize 0 to 1 always in software lighting.
...
See #14167 . This seems to be consistent.
2021-02-27 23:51:45 -08:00
Unknown W. Brackets
82a7a26409
GPU: Look up replaced filtering options.
2021-02-27 17:17:21 -08:00
Unknown W. Brackets
fb3ad1df4b
Replacement: Read in texture filtering overrides.
...
If you're replacing, you can know more information about linear safety for
tests.
2021-02-27 17:16:16 -08:00
Unknown W. Brackets
579482320d
GPU: Revert stencil discard workaround change.
...
This reverts commit 0640ebb22d
.
Apparently caused more problems than it solved.
2021-02-23 19:39:01 -08:00
Unknown W. Brackets
0640ebb22d
GPU: Use stencil discard workaround w/o depth test.
2021-02-22 21:40:01 -08:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
...
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
Unknown W. Brackets
557bf0d963
TexCache: Check for videos rendered as slices.
...
In a few places, we were checking only the start address of the video.
2021-02-20 20:59:04 -08:00
Henrik Rydgård
bcbfee6403
Merge pull request #14185 from unknownbrackets/screenshot
...
GPU: Rotate screenshot framebuffer per display
2021-02-20 10:23:47 +01:00
Unknown W. Brackets
28a4057115
GPU: Rotate screenshot framebuffer per display.
2021-02-19 22:57:34 -08:00
Henrik Rydgård
aec37e8bb4
Only consider the actual PPGe texture in kernel ram reliable.
...
It seems some Chinese patches like to allocate kernel space for
textures.
(On that note, we should probably allocate our texture elsewhere... in
case it takes up too much space).
2021-02-19 09:53:55 +01:00
Unknown W. Brackets
277691746d
GPU: Correct more vertex/index endian swaps.
2021-02-18 22:28:41 -08:00
aliaspider
9a3e5879bb
Global: Correct many endian types and casts.
2021-02-18 22:25:24 -08:00
Unknown W. Brackets
229d684214
GPU: Prevent memory fault when no framebuf yet.
2021-02-16 19:29:37 -08:00
Unknown W. Brackets
e08e0cba33
GPU: Remove clear framebuf on first use speedhack.
...
Wasn't helping much.
2021-02-15 23:12:24 -08:00
Unknown W. Brackets
cc1b4e695d
Debugger: Correct crash with no alloc tag.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
a590671e8c
GPU: Cleanup comment.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
10a77d29ab
Debugger: Track texture usage too.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
76ae1b4d28
Debugger: Mark framebuffers as VRAM allocations.
2021-02-15 15:01:23 -08:00