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 |
|
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 |
|
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 |
|
Henrik Rydgård
|
b91ad1d2d7
|
Remove optimization in BlitUsingRaster that shouldn't have been there (redundant, lacked feature check)
|
2022-08-07 10:55:44 +02:00 |
|
Henrik Rydgård
|
1fb04a7d33
|
Merge pull request #15798 from unknownbrackets/gpu-minor
Cleanup some stencil upload things, clarify alpha skipping
|
2022-08-07 08:36:02 +02:00 |
|
Unknown W. Brackets
|
b87854bc66
|
GLES: Correct semantic name for Draw2D.
Draw hardcodes the names. Fixes #15799.
|
2022-08-06 22:13:03 -07:00 |
|
Unknown W. Brackets
|
c212bd0fec
|
GPU: Clarify new framebuf stencil upload.
Actually, this doesn't need alpha either.
|
2022-08-06 21:18:48 -07: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 |
|
Unknown W. Brackets
|
e6ea07bc9d
|
GPU: Cleanup remnants of GLES-only stencil upload.
|
2022-08-06 20:33:34 -07:00 |
|
Henrik Rydgård
|
8478a8c86d
|
Merge pull request #15789 from hrydgard/unify-texture-depal
Unify the framebuffer depal process
|
2022-08-06 18:49:37 +02:00 |
|
Henrik Rydgård
|
4658962b09
|
Feature detection fix on old GL, more compiler warning fixing
|
2022-08-06 18:47:12 +02:00 |
|
Henrik Rydgård
|
5987c355d3
|
D3D9: Fix a lot of stuff
|
2022-08-06 18:27:04 +02:00 |
|
Henrik Rydgård
|
ded8ba8806
|
More cleanup, fixes.
|
2022-08-06 18:27:04 +02:00 |
|
Henrik Rydgård
|
9a5893ce6e
|
More cleanup
|
2022-08-06 18:27:04 +02:00 |
|
Henrik Rydgård
|
92a3d45340
|
Lock out shaderDepal from D3D for now, will implement later.
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
81c36578ca
|
Feature detection fixes
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
4e3c258140
|
Delete all the duplicate implementations of ApplyTextureFramebuffer
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
45def772ee
|
Move the depal cache instance ownership to TextureCacheCommon
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
87b128ecaf
|
Compiles on Vulkan, but doesn't yet work.
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
e345a6ba3c
|
Works with D3D11, except the depth texturing case
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
2fa9b0d0c7
|
Simplify
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
7800bfdf72
|
Move the TextureShaderApplier out to DepalettizeCommon
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
ab560d9224
|
Move more stuff to Common
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
37555fd442
|
Move to Common
|
2022-08-06 18:27:02 +02:00 |
|
Henrik Rydgård
|
8aebf0dca4
|
Port the OpenGL depal path to thin3d
|
2022-08-06 18:27:02 +02:00 |
|
Henrik Rydgård
|
5f230ee998
|
Fix some compiler warnings
|
2022-08-06 18:19:27 +02:00 |
|
Henrik Rydgård
|
fafe727870
|
Fix corrupted colors when using software upscaling with OpenGL.
Fixes #15779
|
2022-08-06 18:04:45 +02:00 |
|
Henrik Rydgård
|
e28b45481b
|
Delete more unused code
|
2022-08-03 22:47:31 +02:00 |
|
Henrik Rydgård
|
f84d2e9ba7
|
Fixes, state invalidation
|
2022-08-03 22:23:07 +02:00 |
|
Henrik Rydgård
|
f8e0c09463
|
Delete unused stuff in all backends
|
2022-08-03 22:22:52 +02:00 |
|
Henrik Rydgård
|
126ace770e
|
Remove the D3D9 and Vulkan BlitFramebuffer functions
|
2022-08-03 22:22:52 +02:00 |
|
Henrik Rydgård
|
9d23939e28
|
Replace D3D11's BlitFramebuffer with the common one
|
2022-08-03 22:22:51 +02:00 |
|
Henrik Rydgård
|
1ab9293cb3
|
Convert FramebufferBlit from the GL backend to use thin3d
|
2022-08-03 22:22:51 +02:00 |
|
Henrik Rydgård
|
64a8a3f7d3
|
D3D11: Remove more custom drawing
|
2022-08-03 22:22:51 +02:00 |
|
Henrik Rydgård
|
0f9bf47429
|
Reimplement filtering in DrawActiveTexture
|
2022-08-03 14:12:55 +02:00 |
|
Henrik Rydgård
|
6ca47076e7
|
Delete the Vulkan implementation of DrawActiveTexture, fixups to shader gen
|
2022-08-03 14:12:55 +02:00 |
|
Henrik Rydgård
|
1d3075566f
|
Move to common (todo: merge with above)
|
2022-08-03 14:12:55 +02:00 |
|
Henrik Rydgård
|
d55c4a3456
|
Convert the D3D11 DrawActiveTexture to thin3d
|
2022-08-03 14:12:55 +02:00 |
|
Henrik Rydgård
|
59b3df0643
|
Draw2D
|
2022-08-03 14:12:55 +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
|
41e327a66b
|
Cleanup and testfixes
|
2022-08-03 13:34:59 +02:00 |
|
Henrik Rydgård
|
9963cd55f0
|
Rebind the framebuffer only if we're in the blit path.
|
2022-08-03 13:33:54 +02:00 |
|