Commit Graph
45601 Commits
Author SHA1 Message Date
Unknown W. Brackets d2fa26d4db Merge pull request #15294 from ccawley2011/keyboard-layout
Use System_GetPropertyInt to report the keyboard layout
2022-01-09 16:54:40 -08:00
Unknown W. Brackets 9595cc3c8c Merge pull request #15293 from ccawley2011/sdl-credits
UI: Mention SDL in the credits when it's being used alongside Qt
2022-01-09 16:35:20 -08:00
Cameron Cawley 26203552b4 Use System_GetPropertyInt to report the keyboard layout 2022-01-10 00:11:08 +00:00
Cameron Cawley 5adf188ea1 UI: Mention SDL in the credits when it's being used alongside Qt 2022-01-09 23:36:20 +00:00
Felipe c7886db1df Update pt_BR.ini 2022-01-09 19:12:46 -03:00
Henrik Rydgård 37c2dd8dd4 Merge pull request #15291 from unknownbrackets/samplerjit-565
samplerjit: Fix alpha for 565 in linear lookup
2022-01-09 22:15:16 +01:00
Unknown W. Brackets b915a82c41 softgpu: Correct decal doubling without alpha. 2022-01-09 12:23:55 -08:00
Unknown W. Brackets 72aa4be879 samplerjit: Skip processing alpha if unused. 2022-01-09 12:23:55 -08:00
Felipe bfc61d831d Add files via upload
Updated the translation
2022-01-09 16:54:10 -03:00
Unknown W. Brackets fe0b3dbd01 samplerjit: Fix alpha for 565 in linear lookup. 2022-01-09 11:08:46 -08:00
Henrik Rydgård 2d7a7fd34e Merge pull request #15288 from unknownbrackets/softgpu-self
softgpu: Draw top left of rectangles first
2022-01-09 08:33:28 +01:00
Henrik Rydgård fe37d8e66a Merge pull request #15286 from unknownbrackets/headless
Fix GE frame dump compare with height less than 272
2022-01-09 08:32:47 +01:00
Henrik Rydgård c4aa1699b8 Merge pull request #15287 from unknownbrackets/sse4
GPU: Allow gcc/clang/icc runtime SSE4 usage
2022-01-09 08:31:07 +01:00
Unknown W. Brackets 88ef2d1ac1 softgpu: Skip threading when rendering to self.
This will probably always be a problem to thread.
2022-01-08 21:05:08 -08:00
Unknown W. Brackets 6367d5dc8f softgpu: Draw top left of rectangles first.
This helps when things do self-rendering, since this way we won't read
from things we've just written to when scaling down.  See #11623.
2022-01-08 20:53:01 -08:00
Unknown W. Brackets 8a00c2d233 GPU: Allow gcc/clang/icc runtime SSE4 usage.
All our builds before were only using SSE4 in jit...
2022-01-08 17:09:09 -08:00
Unknown W. Brackets d7e71543f7 UI: Use comparison screenshot as frame dump icon.
This makes it easier to tell a big list apart.
2022-01-08 16:12:48 -08:00
Unknown W. Brackets a45eeb56ed Headless: Fix compare of smaller buffers.
When the buffer is smaller, we need to flip properly to compare the
correct pixels.
2022-01-08 16:06:17 -08:00
Henrik Rydgård eee62849fe Merge pull request #15284 from unknownbrackets/softgpu-opt
Improve softgpu lighting accuracy and speed
2022-01-08 22:05:06 +01:00
Henrik Rydgård d11357caca Merge pull request #15285 from unknownbrackets/softgpu-xrange
Skip part of row easily outside triangles in softgpu
2022-01-08 22:03:55 +01:00
Unknown W. Brackets c7fc448869 softgpu: Use some SSE4 in triangle interpolation. 2022-01-08 11:38:07 -08:00
Unknown W. Brackets 3b1cc0d3b8 softgpu: Limit minX/maxX per line.
Only helps when single-threaded, though.
2022-01-08 10:04:52 -08:00
Unknown W. Brackets 9458610d96 softgpu: Avoid rsqrt path for normals.
In LittleBigPlanet, it's noticeable that the lighting is very off due to
the slight loss of accuracy - possibly due to cutoff or similar.
2022-01-07 23:22:57 -08:00
Unknown W. Brackets 43f71884ee softgpu: Clarify internal matrix multiply usage. 2022-01-07 17:53:24 -08:00
Henrik Rydgård 49e7d72f41 Remove QWEmct from credits as requested 2022-01-07 11:11:17 +01:00
Henrik Rydgård 2e1ef5dfe8 Merge pull request #15283 from unknownbrackets/warnings
UI: Fix some sign/size comparison warnings
2022-01-07 09:36:24 +01:00
Unknown W. Brackets ce8a49b1c1 softgpu: Retain floats in diffuse/specular.
This seems to be a bit more accurate.  Color blending seems correct now,
but the factors and especially pow results are off.

Also, normalize normal to 0, 0, 1, which seems to match results better.
2022-01-06 21:52:31 -08:00
Unknown W. Brackets bd354164bc softgpu: Cleanup -NAN and diffuse factor. 2022-01-06 21:52:27 -08:00
Unknown W. Brackets 537e357741 softgpu: Correct NAN spotlight exponent/direction. 2022-01-06 21:19:48 -08:00
Unknown W. Brackets b86bdc9456 softgpu: Correct handling of NAN attenuation. 2022-01-06 21:19:47 -08:00
Unknown W. Brackets fa80c448ee softgpu: More closely match PSP light rounding. 2022-01-06 21:19:47 -08:00
Unknown W. Brackets e7d66f2029 softgpu: Reuse SSE/NEON matrix code. 2022-01-06 21:19:47 -08:00
Unknown W. Brackets 079b67e7ed softgpu: Use common SIMD matrix multiplies. 2022-01-06 21:19:47 -08:00
Unknown W. Brackets cba2374abd softgpu: Separate calculation of S/T.
We could probably reuse, but we're not right now and it complicates the
logic.
2022-01-06 21:19:47 -08:00
Unknown W. Brackets a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Henrik Rydgård 683289402c Merge pull request #15279 from unknownbrackets/samplerjit-fastpath
softgpu: Correct mirroring in fastpath+nearest
2022-01-05 09:43:20 +01:00
Henrik Rydgård f82f24a9bb Merge pull request #15280 from unknownbrackets/samplerjit-dxt
Correct some recent regressions in samplerjit
2022-01-05 09:42:30 +01:00
Unknown W. Brackets 0993771104 samplerjit: Fix standard bufw check.
Oops, bufw could be intentionally higher while w is 16 bytes.
2022-01-05 00:11:34 -08:00
Unknown W. Brackets 741a9b0a4d samplerjit: Fix DXT compilation. 2022-01-05 00:00:03 -08:00
Unknown W. Brackets 19998976c7 samplerjit: Correct linear compile failure.
It was resetting to nullptr, because `nearest` was nullptr.
2022-01-04 23:58:07 -08:00
Unknown W. Brackets e2f8cf8bf2 softgpu: Correct mirroring in fastpath+nearest. 2022-01-04 23:42:31 -08:00
Henrik Rydgård 40093634a6 Merge pull request #15277 from unknownbrackets/softjit-opt
Small optimizations to raster and sampler, lighting optimization
2022-01-03 23:29:52 +01:00
Unknown W. Brackets d98e5bfc97 softgpu: Improve usage of SSE for lighting.
Gives about a 2% improvement in many places.
2022-01-03 06:45:10 -08:00
Unknown W. Brackets 2aa57679fa softjit: Keep mip S/T calc in SIMD.
This is only a tiny bit faster, though.
2022-01-03 06:45:10 -08:00
Unknown W. Brackets a309ed791b softjit: Use RIP access in color/depth off.
Seems to help, though it's small.
2022-01-03 06:45:10 -08:00
Unknown W. Brackets 612cc0ab5c softjit: Optimize depth range checks.
This was higher than I expected on the profile.  Not a huge improvement,
but a bit faster.
2022-01-03 06:45:10 -08:00
Unknown W. Brackets 961cfcd75c softjit: Add describes here too.
Helpful to aggregate when there are multiple rasterizers.
2022-01-03 06:45:10 -08:00
Henrik Rydgård b2bb0be05d Merge pull request #15275 from unknownbrackets/samplerjit-avx2
Use AVX2 gather for samplerjit
2022-01-03 09:27:44 +01:00
Unknown W. Brackets 26e7768a67 samplerjit: Remove old linear nearest paths.
We only use it for DXT now, so let's not keep the dead code around.
2022-01-02 17:28:52 -08:00
Unknown W. Brackets 5e3bef7e14 samplerjit: Avoid gather if overread could crash.
This should be rare, but a game could easily shove a CLUT4 texture at the
end of VRAM, and then accessing the last index would segfault.
2022-01-02 17:28:52 -08:00