Unknown W. Brackets
e869a3979b
Draw: Centralize funcs in ColorConv.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
915265e531
Draw: Optimize GL A1R5G5B5 conversion.
...
This seems to be enough to trigger SIMD in x86_64 at least.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
8a8328c431
Common: Move ColorConv to a more appropriate place.
2021-05-01 11:20:05 -07:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Henrik Rydgård
1b13badeb4
Move remaining FileUtil functions into the File namespace.
2021-04-25 20:38:22 +02:00
Unknown W. Brackets
3c09b5c010
GLES: Always use fragColor0 on GL 3.0+.
2021-04-10 16:26:39 -07:00
Unknown W. Brackets
60690109f0
GLES: Handle GLSL 1.30/1.40 better.
...
Was causing errors for people using older GL.
2021-04-10 13:32:13 -07: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
Unknown W. Brackets
e7a3faaa8c
Windows: Stop ignoring all deprecated warnings.
2021-02-18 08:56:36 -08:00
Unknown W. Brackets
fe9870bf37
Draw: Auto ref/release bound textures/samplers.
2021-02-16 21:48:43 -08:00
Unknown W. Brackets
e85a8b0f5b
Global: Cleanup class init order warnings.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
4a33b5d4e2
D3D11: Fail if uniform buffer create fails.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Henrik Rydgård
9b13220f49
Merge pull request #13864 from unknownbrackets/vulkan-amd
...
Vulkan: Remove #10097 hack for newer AMD drivers
2021-02-15 16:31:49 +01:00
Unknown W. Brackets
9d22297a90
Windows: Use CommonWindows more consistently.
...
Also, make sure WinSock2.h is included beforehand where it's needed.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
6247e4d0ee
Windows: Add some missing override specifiers.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d
Windows: Fix improper case or missing includes.
...
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Henrik Rydgård
c8dfa091fa
Add some checks trying to prevent creation of 0 sized textures.
...
Saw a crash log with a driver crash in CreateTexture...
2021-02-13 11:33:15 +01:00
Henrik Rydgård
d23bef1525
Merge pull request #14129 from unknownbrackets/gpu-copyimage
...
GPU: Force reinterpret off without copy image
2021-02-13 07:38:52 +01:00
Unknown W. Brackets
5aa3e3180f
GPU: Force reinterpret off without copy image.
...
Also, assert we have it when using it, since there's ifs.
2021-02-12 20:40:21 -08:00
Henrik Rydgård
c76fe9cec4
Assorted paranoid cleanups, inspired by #14082
2021-02-10 00:20:52 +01:00
Henrik Rydgård
c48bdf7efc
Vulkan: Fix image layout issues after compute shader uploads.
...
We're already in GENERAL so probably not worth to transfer to DST just
to do even more transfers due to the silliness of GenerateMip.
I'm planning to rework the whole texture upload thing to be far more
optimal with some kind of TextureUploadManager
Fixes #13987
2021-01-30 23:09:42 +01:00
Henrik Rydgård
1eeebccd04
Fix Apple gpu detection
2021-01-30 18:31:39 +01:00
Henrik Rydgård
c251d69eab
Minimize the Adreno shader compiler bug repro test
2021-01-30 10:21:14 +01:00
Unknown W. Brackets
6798d5379a
GLES: Remove direct khrplatform.h header include.
...
Shouldn't be needed anymore, was a hack for Nokia. See #13978 .
2021-01-25 18:42:24 -08:00
Henrik Rydgård
ca50077341
More GPU test improvements
...
* Fix the flat test. Unfortunately doesn't repro the bug :(
2021-01-17 18:04:00 +01:00
Unknown W. Brackets
6ca9acf94b
Vulkan: Delete only created swapchain images.
...
We do other null checks here, same reason. Create may have failed.
2021-01-16 20:55:34 -08:00
Henrik Rydgård
3f01cbb98c
Initialize/Deinitialize the shader translation system once globally.
...
Fixes #13839 .
2021-01-04 23:51:34 +01:00
Henrik Rydgård
1acbfb1a52
Never pass a null into QueueDeleteImageView (got a report of that).
...
Went through them all to see where this could happen, can't find any
other path than this, though it's strange.
2021-01-03 21:46:12 +01:00
Henrik Rydgård
f0bb504bb1
Postshader: Improve error reporting.
2021-01-03 19:15:05 +01:00
Unknown W. Brackets
ca0763c7f1
Vulkan: Remove #10097 hack for newer AMD drivers.
...
Fixes #10643 . Assumes affected drivers only supported 1.0 due to year 1.1
supporting drivers started coming out.
2021-01-03 09:24:14 -08:00
Unknown W. Brackets
cd6be61d98
Common: Correct some formatting type mismatches.
2021-01-01 15:43:13 -08:00
Henrik Rydgård
a272deeba3
Postprocessing shader, GL: Fix shader version bug. Fixes #13779
2020-12-19 23:45:31 +01:00
Henrik Rydgård
7de7680416
Apple driver bug workaround. See issue #13451
2020-12-16 14:39:08 +01:00
Henrik Rydgård
2dcfa63498
GL: Detect Apple GPUs as a category
2020-12-14 22:10:18 +01:00
Henrik Rydgård
32c9728c0c
Some cleanups in GL feature and shader language detection.
...
Gets rid of many wrong or bad checks for IsCoreContext.
2020-12-14 19:46:11 +01:00
Henrik Rydgård
f3ebd6553d
Turn off vertex range culling in bezier/spline calls.
...
When we do lower res tess than the real PSP, we cant trust the game to not cause range culling to kick in.
Fixes #11692
2020-12-13 16:04:16 +01:00
Henrik Rydgård
1c925e705f
Merge pull request #13760 from hrydgard/fix-dirt-graphics
...
Fix car lighting issues in DiRT 2.
2020-12-13 09:19:34 +01:00
Henrik Rydgård
6a5522b185
thin3d: Add a way to query the current render target for debugging.
2020-12-13 00:20:13 +01:00
Halo-Michael
0652d2b52f
Change the typo
2020-12-08 14:42:07 +08:00
Halo-Michael
a40674d770
Fix loader
2020-12-08 14:40:29 +08:00
Halo-Michael
277b00dfa0
Bundle libMoltenVK
2020-12-08 13:46:14 +08:00
Henrik Rydgård
c0c2bfb293
D3D11: Fix shader module leak in thin3d.
...
Thanks Unknown.
2020-12-01 09:20:13 +01:00
Henrik Rydgård
032890803e
Need to take renderArea into account when merging render passes.
...
Fixes #13664
2020-11-26 23:29:59 +01:00
Henrik Rydgård
3c2733d8eb
Adreno/OpenGL: Limit shader depal to 6xx series GPUs. Should help #13668 .
...
Also make a function static.
2020-11-22 18:00:07 +01:00
Henrik Rydgård
29b2f2c4ef
Better GLSL version handling. Now specify the latest version supported by the device.
...
Correct the version check for our own implementations of packUnorm4x8 etc.
2020-11-16 23:30:07 +01:00
Henrik Rydgård
90cc325b53
Clears didn't always properly set the RenderArea. Should help #13664
2020-11-15 22:30:16 +01:00
Henrik Rydgård
e14437cb3f
OpenGL: Assorted shader-depal bugfixes and regression fixes.
...
Fixes #13517
2020-11-11 23:09:48 +01:00
Henrik Rydgård
a3d06e366f
OpenGL: Detect Adreno model number
2020-11-11 22:46:25 +01:00