Henrik Rydgård
5bf7b56305
Oops, this iOS check was still required.
2022-08-07 12:04:41 +02:00
Henrik Rydgård
1dabb54df5
Improve the NPOT check
2022-08-07 11:50:23 +02:00
Henrik Rydgård
4ff8f85110
Forgot these...
2022-08-07 11:48:59 +02:00
Henrik Rydgård
6f1f482432
Make GLQueueRunner/RenderManager aware of device caps, use it to check for NPOT and some other stuff
2022-08-07 11:15:23 +02:00
Unknown W. Brackets
20c2ec1392
GPU: Skip alpha stencil upload when safe.
...
Otherwise, let's not do things that give different behavior at 1x or are
inconsistent.
2022-08-06 21:12:59 -07:00
Henrik Rydgård
77535c8132
Fix feature check for wrapping of non-pow-2 textures
...
May fix some problems with using 3x/5x upscaling or 3x/5x resolution on some
hardware.
2022-08-06 23:54:03 +02:00
Henrik Rydgård
81c36578ca
Feature detection fixes
2022-08-06 18:27:03 +02:00
Henrik Rydgård
da65af832a
D3D11 prep
2022-08-06 18:27:03 +02:00
Henrik Rydgård
4e89174b85
OpenGL: Fix shader depal too.
2022-08-06 18:27:03 +02:00
Henrik Rydgård
8aebf0dca4
Port the OpenGL depal path to thin3d
2022-08-06 18:27:02 +02:00
Henrik Rydgård
3e1ccf1311
Need a separate cap bit for stencil blits to prevent misuse on D3D9
2022-08-03 13:40:21 +02:00
Henrik Rydgård
9bead443c3
Unify stencil buffer upload using Draw. Only OpenGL tested yet (shaders need adaptation).
2022-08-03 13:31:13 +02:00
Henrik Rydgård
d4d92e39ff
Implement DrawUP for D3D11
...
This is so we can do simple drawing without buffer management through
thin3d on all backends.
2022-08-03 13:28:54 +02:00
Henrik Rydgård
19931c003f
Clean up blit/copy feature detection. Don't need fast GPU flags for these.
2022-08-02 09:53:46 +02:00
Henrik Rydgård
e1956b47a0
Merge pull request #15727 from hrydgard/texture-3d
...
Implement the PSP's equal-size mips "3D texturing"
2022-08-01 08:35:43 +02:00
Henrik Rydgård
392d83fb22
Merge pull request #15659 from lvonasek/feature_openxr_quest
...
Oculus Quest native support
2022-07-31 16:34:45 +02:00
Henrik Rydgård
46d6b43618
Support 3D textures in OpenGL ES, add feature check
2022-07-31 10:43:48 +02:00
Henrik Rydgård
129f3fe997
Testfix, cleanup
2022-07-31 10:43:48 +02:00
Henrik Rydgård
fecf9127a0
Implement 3D texturing in the OpenGL backend too. Assorted fixes.
2022-07-31 10:43:48 +02:00
Henrik Rydgård
3e39f62c3d
Merge pull request #15743 from hrydgard/build-texture-refactor
...
TextureCache "BuildTexture" refactor and cleanup
2022-07-30 11:21:57 +02:00
Henrik Rydgård
e43b5e2081
thin3d: Make writeMask and compareMask dynamic in all backends. D3D11 needs emulation.
2022-07-30 10:47:18 +02:00
Henrik Rydgård
4a18629e63
thin3d: Remove dual sided stencil, not supported by all backends anyway
2022-07-30 10:47:18 +02:00
Henrik Rydgård
d0d53091a8
Change from maxLevel to levelsToLoad, for better readability. Cleanup.
2022-07-30 10:45:02 +02:00
Lubos
8daba0d881
OpenXR - Finalize VR renderer interface
2022-07-24 14:14:21 +02:00
Lubos
553363a5b5
OpenXR - Rendering into VR framebuffer works
2022-07-15 15:41:21 +02:00
Henrik Rydgård
122a0fa1f6
Oops, revert debugging commit
2022-06-19 18:10:27 +02:00
Henrik Rydgård
1d17b01c16
Workaround for strange driver hang on Raspberry Pi 3.
...
Strangely, this does not fix the text rendering in the UI, but might
still be enough for the libretro use case in #15469 .
See #15469
2022-06-19 16:56:19 +02:00
Henrik Rydgård
e98e48e2e9
Merge pull request #15416 from unknownbrackets/gles-invalidate
...
GLES: Remove old invalidation code
2022-02-21 22:03:01 +01:00
Unknown W. Brackets
1ba8f1fa0a
GLES: Remove old invalidation code.
...
We must've changed something to a KEEP, this never seems to catch anything
now.
2022-02-21 09:34:16 -08:00
Unknown W. Brackets
c20f352be2
GLES: Add asserts for correct blend usage.
...
Also make sure we don't try to use ARB blending on GLES.
2022-02-21 08:57:21 -08:00
Unknown W. Brackets
bbce43684c
GLES: Use EXT not GLES3 for dualsrc blend support.
...
See #15413 , thanks icecream95.
2022-02-20 23:19:43 -08:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
2718e81c0e
GPU: Expand lines to triangles.
2021-10-31 14:46:46 -07:00
Unknown W. Brackets
b3a8e013f6
GPU: Expand points into triangles for higher res.
2021-10-31 13:06:06 -07:00
Unknown W. Brackets
09daace8b8
GLES: Skip assert if no buffer.
2021-10-25 06:27:45 -07:00
Unknown W. Brackets
275baccc5b
GLES: Support GL_APPLE_clip_distance too.
...
Seems modern Apple mobile chips only support clip.
2021-10-12 20:34:44 -07:00
Unknown W. Brackets
5e6f54033e
GPU: Split clip and cull caps.
...
GL_ARB_cull_distance is needed, sometimes available on older GL.
2021-10-12 20:34:43 -07:00
Unknown W. Brackets
1c7cd67f6d
iOS: Buildfix bad GLES headers.
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
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
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
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