Commit Graph
3246 Commits
Author SHA1 Message Date
Henrik Rydgård 8251932ae3 Stride fix in matching 2022-08-17 22:58:26 +02:00
Henrik Rydgård 7f169436c0 Framebuffer matching simplification 2022-08-17 22:47:17 +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 a7e388168d Typo fix 2022-08-17 14:33:38 +02:00
Henrik Rydgård 74f1c94ddb Use sequence numbers instead of a tracking array for depth buffers 2022-08-17 10:34:07 +02:00
Henrik Rydgård 078fc881a7 Revise comments according to feedback 2022-08-17 10:15:02 +02:00
Henrik Rydgård a8b1d1191e Oops, remove wrong comments 2022-08-17 10:09:12 +02:00
Henrik Rydgård 19367dd890 Comment updates 2022-08-17 10:09:12 +02:00
Henrik Rydgård 5785cf40ad Clean up and comment framebuffer struct better, add bind sequence numbers 2022-08-17 10:09:11 +02:00
Lubos 22e7f87e33 OpenXR - Disable multiview for now 2022-08-16 21:32:11 +02:00
Henrik Rydgård 35a1ca064a Refactor 2D pipeline creation 2022-08-16 19:27:46 +02:00
Lubos 71df50a354 OpenXR - GL and OXR logging added 2022-08-16 17:39:54 +02:00
Henrik Rydgård dbf16cb106 Minor cleanup in reinterpret 2022-08-16 15:10:48 +02:00
Henrik Rydgård 570e0326e7 Rely on refcounting for stencil upload shader modules 2022-08-16 15:10:48 +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 31fe0fc39e Remove some unnecessary bool returns. 2022-08-16 11:23:34 +02:00
Henrik Rydgård ccdb1f7330 Move out the reinterpret stuff to ReinterpretFramebuffer.cpp. Draw2D refactor. 2022-08-16 11:11:59 +02:00
Henrik Rydgård 9f2447c0b4 Assorted minor cleanup 2022-08-16 10:55:44 +02:00
Henrik Rydgård 5f9718ef92 Merge pull request #15843 from unknownbrackets/gpu-minor
GPU: Skip fb create upload when clearing
2022-08-16 00:05:10 +02:00
Henrik Rydgård 913525036b Merge pull request #15844 from unknownbrackets/ge-playback
GE Debugger: Correct base accounting in playback
2022-08-16 00:04:03 +02:00
Unknown W. Brackets 6060706fc8 GPU: Avoid using depth buffers for blending.
For now, until it's implemented.
2022-08-14 22:13:39 -07:00
Unknown W. Brackets daaf448d22 GE Debugger: Fix crash on 0 count prim. 2022-08-14 16:17:04 -07:00
Unknown W. Brackets 0b22c98404 GPU: Skip fb create upload when clearing.
This doesn't verify it's a full screen clear, but on a new framebuffer
that's very very common.
2022-08-14 13:19:52 -07: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
Unknown W. Brackets cf030c3bce Global: Cleanup some unreferenced warnings. 2022-08-13 12:43:14 -07:00
Lubos f81779b0de Merge branch 'master' into feature_openxr_6dof 2022-08-13 14:27:29 +02:00
Henrik Rydgård ade8b88766 Try to fix shader compilation error on Adreno reported by Lubos 2022-08-12 21:32:32 +02:00
Lubos 3542fbbc38 Merge branch 'master' into feature_openxr_6dof 2022-08-12 10:31:00 +02:00
Henrik Rydgård 190f503565 Merge pull request #15803 from fp64/cubic-upscaler
Reimplement bicubic upscaling.
2022-08-11 13:43:23 +02:00
Unknown W. Brackets a321aba68c GPU: Avoid stencil force pass when writing depth.
There's a risk if the stencil test failed, it might cause a depth write
unless it's also masked.  Hunter x Hunter doesn't in this case.
2022-08-10 23:11:16 -07:00
Henrik Rydgård f80dd088b8 Merge pull request #15822 from unknownbrackets/gpu-stencil
GPU: Write stencil fail to alpha is RGB masked
2022-08-10 14:59:53 +02:00
Unknown W. Brackets 710abcc288 GPU: Write stencil fail to alpha is RGB masked.
See #15813 (Hunter x Hunter) which does this for shadows.
2022-08-09 18:45:49 -07: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
Henrik Rydgård 131098c4d4 Some enum renaming, move RasterChannel to GPU.h. 2022-08-09 19:58:48 +02:00
Lubos 89a0a28c70 Merge branch 'master' into feature_openxr_6dof 2022-08-09 19:35:13 +02:00
Henrik Rydgård 1913930541 Careful with mipmaps on old OpenGL ES. Lost this check in the refactor, made it clearer than before at least.
Fixes Burnout rendering issue mentioned in #15818
2022-08-09 17:26:39 +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
Henrik Rydgård 83fd8a2fd8 Convert depal shaders to use the ShaderWriter. Add tests for depal shaders. 2022-08-09 15:32:27 +02:00
Henrik Rydgård 9bd4201c83 Cleanup 2022-08-09 10:47:54 +02:00
Henrik Rydgård 9a678406b9 Remove BGRA color swap in depal for D3D, no longer needed (and breaks Simpsons) 2022-08-08 14:10:55 +02:00
Lubos c00fea1b22 Merge branch 'master' into feature_openxr_6dof 2022-08-07 20:33:14 +02:00
fp64 25d44ad65e Change indentation to tabs. 2022-08-07 12:41:31 -04:00
Unknown W. Brackets e589b4506b GLES: Correct alpha check for depal framebuffers. 2022-08-07 07:43:10 -07:00
Henrik Rydgård d61909ca91 More framebuffer blit fixes. 2022-08-07 12:02:06 +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