Lubos
30a3cb622a
Force clearing framebuffer for GTA games
2022-08-30 21:09:12 +02:00
Henrik Rydgård
4da2ca0935
Implement shader blending for D3D9
...
This was easy, dunno why I never got around to it before..
I guess I didn't know about VPOS.
This does raise our minimum shader model requirement to ps_3_0.
2022-08-30 12:19:56 +02:00
Henrik Rydgård
44d822be3b
Address feedback
2022-08-30 06:41:37 +02:00
Henrik Rydgård
670c31e746
Add support for reading depth buffers to the PackFramebufferSync function.
...
Also adds D16 conversion code (though, could probably get away with just
creating a 16-bit depth buffer on the GPU and blit to it, where depth
blit is available).
Not yet used, just getting it in separately.
2022-08-30 00:00:59 +02:00
Lubos
94968c3075
Merge branch 'master' into feature_openxr_stereo
2022-08-29 21:32:59 +02:00
Henrik Rydgård
34ed960a72
Use better pattern for enum switches
2022-08-28 23:57:01 +02:00
Henrik Rydgård
b447092742
Some Vulkan renderpass load/store optimizations.
2022-08-28 23:16:48 +02:00
Lubos
4bd5a28604
OpenXR - Flag to easily disable multiview shaders added
2022-08-28 14:49:27 +02:00
Lubos
2d0e426fa9
OpenXR - Keep using GLES2 headers for now
2022-08-28 14:26:50 +02:00
Lubos
ca92f80bd8
Merge branch 'master' into feature_openxr_stereo
2022-08-28 14:22:18 +02:00
Lubos
c2c0561be2
OpenXR - OPENXR ifdef removal
2022-08-27 17:33:37 +02:00
Henrik Rydgård
3c5ec25f61
Initial implementation of 32/16-bit color reinterpret blits.
2022-08-26 15:51:25 +02:00
Luboš Vonásek
ce55449d03
Assert removed
2022-08-24 23:38:57 +02:00
Luboš Vonásek
11a6318509
Merge branch 'hrydgard:master' into feature_openxr_stereo
2022-08-24 19:50:45 +02:00
Henrik Rydgård
416d8b403b
Merge pull request #15768 from lvonasek/feature_openxr_6dof
...
OpenXR - 6DoF support
2022-08-24 18:49:41 +02:00
Henrik Rydgård
d459eac891
Fix checks for depth texture support, GLES syntax errors
2022-08-24 11:26:07 +02:00
Henrik Rydgård
bd674c47b6
OpenGL: Fix regular depal (shader depal still worked) that broke recently
2022-08-24 11:01:57 +02:00
Henrik Rydgård
8b3ef19450
Fix wrong width/height values being stored in thin3d textures
2022-08-24 10:23:37 +02:00
Henrik Rydgård
eb2f12e64a
Drive-by texture slot management cleanup
2022-08-24 10:22:58 +02:00
Luboš Vonásek
c5cb45b1f7
Merge branch 'hrydgard:master' into feature_openxr_6dof
2022-08-24 06:55:31 +02:00
Henrik Rydgård
fc81b76b98
Vulkan: Very minor chnages after checking Best Practices with new validation layer
2022-08-23 23:55:53 +02:00
Henrik Rydgård
5084743bbb
Use Draw2D for depal shaders (except the actual blit, for now)
2022-08-23 11:21:40 +02:00
Unknown W. Brackets
c13f57e64f
Vulkan: Cleanup minor logging.
2022-08-21 19:40:02 -07:00
Henrik Rydgård
ca24f1b9aa
Fixes for D3D11
2022-08-21 09:58:58 +02:00
Lubos
af011c2cc9
OpenXR - Step closer to identify multiview FBO issue
2022-08-19 21:19:59 +02:00
Lubos
98f726af3b
OpenXR - Use OpenGL ES 3 and ensure FBO pair calls
2022-08-19 16:59:39 +02:00
Lubos
4026d49104
OpenXR - Multiview uniforms working
2022-08-17 19:14:36 +02:00
Lubos
d570a194dd
Merge branch 'feature_openxr_6dof' into feature_openxr_stereo
2022-08-17 17:08:12 +02:00
Henrik Rydgård
bd6f79e473
Fix the raster depth blit again, which I recently broke.
2022-08-17 16:52:49 +02:00
Lubos
1e479fa192
Merge branch 'master' into feature_openxr_6dof
2022-08-17 16:48:05 +02:00
Henrik Rydgård
d0cdb360fd
Remove the DX9 namespace, for consistency with the other backends
2022-08-16 21:49:16 +02:00
Lubos
22e7f87e33
OpenXR - Disable multiview for now
2022-08-16 21:32:11 +02:00
Lubos
71df50a354
OpenXR - GL and OXR logging added
2022-08-16 17:39:54 +02:00
Henrik Rydgård
1e57a358b8
thin3d: Properly AddRef and Release shader modules from the pipeline in backends that need it
2022-08-16 15:10:48 +02:00
Henrik Rydgård
3a0d43ae1e
Remove deprecated function (mostly)
2022-08-16 11:47:38 +02:00
Henrik Rydgård
31fe0fc39e
Remove some unnecessary bool returns.
2022-08-16 11:23:34 +02:00
Lubos
43bd9b9086
Merge branch 'feature_openxr_6dof' into feature_openxr_stereo
2022-08-15 17:23:57 +02:00
Lubos
70c4781feb
OpenXR - Option to set canvas distance added
2022-08-15 17:19:42 +02:00
Lubos
428145c4b9
OpenXR - 2D mode hack mappable (using screen keycode)
2022-08-15 16:53:00 +02:00
Lubos
ab6c91c203
OpenXR - Integrate multiview into system
2022-08-14 18:51:45 +02:00
Lubos
47349b2c0d
Merge branch 'master' into feature_openxr_stereo
2022-08-14 16:51:09 +02:00
Lubos
e76a68666a
OpenXR - Config for stereoscopic vision added
2022-08-14 12:02:51 +02:00
Lubos
c71ecd7756
OpenXR - Unused parameter removed
2022-08-14 11:47:33 +02:00
Unknown W. Brackets
a6804c96bd
GLES: Correct some variable shadowing.
...
Potentially fixes an issue with 3D textures?
2022-08-13 12:43:14 -07:00
Unknown W. Brackets
cf030c3bce
Global: Cleanup some unreferenced warnings.
2022-08-13 12:43:14 -07:00
Lubos
3542fbbc38
Merge branch 'master' into feature_openxr_6dof
2022-08-12 10:31:00 +02:00
Henrik Rydgård
79ee532609
Fix feature checks
2022-08-09 20:05:44 +02:00
Henrik Rydgård
252550fbd2
Enable framebuffer depth blits through raster. Fixes games like Jeanne D'Arc on D3D9.
2022-08-09 20:00:32 +02:00
Lubos
89a0a28c70
Merge branch 'master' into feature_openxr_6dof
2022-08-09 19:35:13 +02:00
Henrik Rydgård
852c395fb7
Texcoord attrs must be called a_texcoord0, this should be fixed. Oh well.
...
Also small fix for depth in float-depal.
2022-08-09 16:07:02 +02:00