Unknown W. Brackets
1c7cd67f6d
iOS: Buildfix bad GLES headers.
2021-10-12 20:34:43 -07:00
Unknown W. Brackets
1e66a66ed7
D3D11: Correct clearing samplers.
2021-10-12 20:34:43 -07:00
Unknown W. Brackets
7d00b6ca90
GLES: Enable/disable clip distance 0.
2021-10-12 20:34:42 -07:00
Unknown W. Brackets
046a5c548b
GLES: Check clip/cull distance support.
...
Pretty limited on GLES3+. Also D3D11.
Seems like doing it on D3D9 might be a bit tricky.
2021-10-12 20:34:42 -07:00
Unknown W. Brackets
273b9a3dc1
Vulkan: Add negative Z clipping.
2021-10-12 20:34:42 -07:00
Henrik Rydgård
e6857388c7
Add input device debug info to touchscreen test screen
...
(yeah maybe there's a better place but it's fine).
Also make a slight tweak to the detection order which I don't think
matters much.
2021-10-10 11:50:20 +02:00
Henrik Rydgård
d7ac6aa63d
Fix an assortment of minor VK barrier bugs in mostly texture upload
2021-10-08 21:58:03 +02:00
Henrik Rydgård
90335bd520
Mip generation: Transition the correct mipmap after blit.
2021-10-08 21:53:55 +02:00
Henrik Rydgård
b426d12a17
More best-practices adjustments
2021-10-08 21:32:40 +02:00
Henrik Rydgård
d7774bf1ae
Ran the "Vulkan best practices" layer, fixed some stuff.
2021-10-08 21:20:40 +02:00
Unknown W. Brackets
abc9ce671a
Draw: Atomically release objects.
...
There may be scenarios where we release objects from separate threads,
just make them safe.
2021-10-07 18:22:23 -07:00
Henrik Rydgård and GitHub
f9f9ab5ec6
Merge pull request #14978 from unknownbrackets/draw-vulkan
...
Vulkan: Handle desc set allocation failure better
2021-10-07 08:48:59 +02:00
Unknown W. Brackets
e389dfc711
Vulkan: Handle desc set allocation failure better.
2021-10-06 23:20:13 -07:00
Henrik Rydgård
59ac4d3e27
Vulkan: Rework mipmap generation and its image barrier/layout handling.
...
Fixes bugs on mobile with texture scaling + auto max quality texturing
(since that generates mipmaps with blits from an image which was just generated from
compute, making proper barriers very critical).
2021-10-05 22:50:49 +02:00
Henrik Rydgård
46ada8649c
VK mip gen: Could end up with a zero dimension in the lowest mipmap, prevent that.
...
Should help #14814
2021-09-11 13:13:40 +02:00
Unknown W. Brackets
d264cbef32
Vulkan: MSVC 2017 buildfix.
...
Fixes the buildbot.
2021-09-10 23:35:31 -07:00
Henrik Rydgård
5876388c65
Vulkan scissor fix (validation errors).
2021-09-10 01:15:29 +02:00
Bram Verweij
f1f5fbd3bb
Remove unintended whitespace changes
2021-08-21 12:44:25 +02:00
Bram Verweij
a31cbe42d2
Rename namespace to PPSSPP_VK, remove indentation
2021-08-21 12:39:15 +02:00
Bram Verweij
cc00a4132d
Prevent dlopen collisions between ppsspp_libretro.so and libvulkan.so
2021-08-20 11:22:57 +02:00
Henrik Rydgård and GitHub
43ae32e5b8
Merge pull request #14713 from amverweij/vulkan-display-khr
...
First pass on using Display KHR, needs proper init flags
2021-08-11 01:34:38 +02:00
Unknown W. Brackets
4cb6976029
GPU: Use an empty vertex buf for reinterpret.
...
See #14552 .
2021-08-07 22:22:36 -07:00
iota97
4ac7e28726
log fix
2021-07-22 11:31:03 +02:00
Henrik Rydgård
e3c748cc97
OpenGL: Accept "AMD" as a vendor string for, well, AMD.
...
Seen with the open source driver by archanox
2021-07-22 08:59:48 +02:00
Henrik Rydgård
e1b4a9175a
Add handling for Android content URIs to VFSReadFile, fixing savestate thumbnails.
2021-07-19 17:34:51 +02:00
Henrik Rydgård
3595e092c9
Turn off all 16-bit formats if B5G6R5 format is not available.
...
Works around #14602 for now.
2021-07-10 23:33:46 +02:00
Henrik Rydgård
4c9b5ada0f
Address feedback
2021-07-09 21:09:44 +02:00
Henrik Rydgård
cde3889866
Android buildfix
2021-07-09 21:09:44 +02:00
Henrik Rydgård
df6abe83a3
Support depth clamping in OpenGL where available.
...
Should make support for depth texturing quite easy.
Unfortunately, this extension does not exist on OpenGL ES. There we'll
have to use ugly tricks with gl_FragDepth if we want this.
2021-07-09 21:09:44 +02:00
Unknown W. Brackets
7f8144494e
Draw: Use constants for texture slots.
...
GL actually had a check for 16 but then an array for 8. This should make
it easier to figure out if we ever hit those limits.
2021-06-12 14:10:57 -07:00
Unknown W. Brackets
17071e7fec
Postshader: Add uniform for delta since last frame.
...
Useful mainly when using previous frame output.
2021-06-12 11:27:26 -07:00
Unknown W. Brackets
7bbaae492b
Postshader: Let shaders use the previous frame.
...
This is useful for i.e. simulating the slow update speed of the PSP's LCD
screen, but could in theory be used for other effects.
2021-06-12 10:54:36 -07:00
Unknown W. Brackets
1ca1a8bbeb
Postshader: Correct sampler binding translation.
2021-06-12 10:14:44 -07:00
Unknown W. Brackets
44d2d8a2a3
Draw: Assert sampler bindings are in valid ranges.
2021-06-12 10:10:42 -07:00
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 and Unknown W. Brackets
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 and GitHub
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