Henrik Rydgård
|
b86648b352
|
Address feedback
|
2022-09-12 16:30:08 +02:00 |
|
Henrik Rydgård
|
4ad345d78d
|
Better shader compile logging
|
2022-09-12 15:39:29 +02:00 |
|
Henrik Rydgård
|
a2eaad5445
|
Debug-name shader modules with their shader desc strings
|
2022-09-12 15:39:29 +02:00 |
|
Henrik Rydgård
|
75efcd9dfd
|
Merge pull request #16000 from unknownbrackets/gedebugger
Cleanup some crashes in GE debugger or with large textures
|
2022-09-11 19:41:11 +02:00 |
|
Henrik Rydgård
|
694dbe1271
|
Add ShaderDepalMode enum, use in shader ID. Replaces smoothed bit.
|
2022-09-11 14:40:01 +02:00 |
|
Unknown W. Brackets
|
6c6d817ce7
|
Vulkan: Avoid crash if large texture attempted.
Doesn't do the clamp/wrap thing, but at least this won't crash.
|
2022-09-10 20:14:37 -07:00 |
|
Henrik Rydgård
|
f3c097680e
|
Merge pull request #15982 from hrydgard/renderpass-refactor
Vulkan: Refactor renderpass handling
|
2022-09-08 09:35:55 +02:00 |
|
Henrik Rydgård
|
974cd38b1f
|
Some more debug names to vulkan objects
|
2022-09-08 09:16:40 +02:00 |
|
Unknown W. Brackets
|
e6b4495e22
|
GPU: Make NotifyConfigChanged() calls consistent.
They're generally centralized in Common.
|
2022-09-07 23:41:00 -07:00 |
|
Henrik Rydgård
|
14b5a1a7cd
|
Fix pipeline lifetime issue, misc.
|
2022-09-08 00:38:32 +02:00 |
|
Henrik Rydgård
|
77819c6f80
|
Lifetime fixes, cleanups
|
2022-09-08 00:38:32 +02:00 |
|
Henrik Rydgård
|
befcfb470c
|
Fix shader caching.
|
2022-09-08 00:38:32 +02:00 |
|
Henrik Rydgård
|
e828df9f25
|
Split each renderpass/framebuffer into multiple "compatibility classes" (RenderPassType).
|
2022-09-08 00:32:03 +02:00 |
|
Henrik Rydgård
|
b15c65540e
|
Fix the new logic-op-in-shader on OpenGL and D3D11
Also disable BlueToAlpha for now for Outrun and DiRT 2, it breaks the
water effect somehow. Will come back to it later.
|
2022-09-04 22:53:05 +02:00 |
|
Henrik Rydgård
|
2474eb6a72
|
Shader bit setup and code generation for logic-ops-in-shader
|
2022-09-04 11:14:47 +02:00 |
|
Henrik Rydgård
|
ec173559f8
|
Additional cleanup
|
2022-09-04 00:10:55 +02:00 |
|
Henrik Rydgård
|
ceda7aef49
|
Add log functions to state structs
|
2022-09-04 00:10:55 +02:00 |
|
Henrik Rydgård
|
87b14fe1c2
|
Some more renaming and refactoring, extracted from a future PR
|
2022-09-04 00:10:55 +02:00 |
|
Henrik Rydgård
|
8e39018b95
|
Channel mask refactor
|
2022-09-04 00:10:54 +02:00 |
|
Henrik Rydgård
|
5f1ffeae70
|
Correct LogicOp API support detection
|
2022-09-04 00:08:40 +02:00 |
|
Henrik Rydgård
|
6b1e4806cf
|
Don't parallelize shader compiles in debug mode, sync in debug allocator kills performance.
|
2022-09-03 23:07:39 +02:00 |
|
Henrik Rydgård
|
b92ea74fb3
|
Merge pull request #15589 from hrydgard/glsl-compilation-parallelization
Vulkan: Parallelize GLSL compilation
|
2022-09-03 17:00:01 +02:00 |
|
Henrik Rydgård
|
fb3f417e77
|
Fix lying comment, log level reduction
|
2022-09-03 16:15:46 +02:00 |
|
Henrik Rydgård
|
c06cf8efaa
|
Switch Vulkan pipelines to use promises for synchronization
Slightly more expensive I guess but shouldn't be much of a bottleneck.
|
2022-09-03 15:21:08 +02:00 |
|
Henrik Rydgård
|
6e605fa2bc
|
Fix silly logic, fixes the shader leak.
|
2022-09-03 15:21:07 +02:00 |
|
Henrik Rydgård
|
8775837c11
|
Work towards finding the leak
|
2022-09-03 15:21:07 +02:00 |
|
Henrik Rydgård
|
93422f6dea
|
Don't block on shader creation until it's time to create the pipeline.
|
2022-09-03 15:21:07 +02:00 |
|
Henrik Rydgård
|
e2c740827a
|
Use shader module promises as keys in pipeline cache instead of the actual shader modules.
Prevents early block.
|
2022-09-03 15:21:07 +02:00 |
|
Henrik Rydgård
|
fc418ee16f
|
Create shader modules (and compile GLSL) on worker threads
|
2022-09-03 15:21:07 +02:00 |
|
Henrik Rydgård
|
ec0586ba50
|
Use promises to hold shader modules, for later asyncification
|
2022-09-03 15:21:07 +02:00 |
|
Henrik Rydgård
|
c846c2dfa8
|
Remove confusing resetFramebufferRead flag from secondary framebuffer binding
|
2022-09-03 14:48:07 +02:00 |
|
Henrik Rydgård
|
8c56abd3dc
|
Remove setting "Disable slower framebuffer effects"
|
2022-09-03 11:06:43 +02:00 |
|
Henrik Rydgård
|
fd6ab4c495
|
Avoid recomputing the shaderblend setup in ComputeFragmentShaderID.
|
2022-09-02 23:06:41 +02:00 |
|
Henrik Rydgård
|
f81a28f661
|
Some reordering
|
2022-09-02 22:40:15 +02:00 |
|
Henrik Rydgård
|
b84cda2876
|
Plumb the computed pipeline state into ComputeFragmentShaderID.
|
2022-09-02 22:16:57 +02:00 |
|
Henrik Rydgård
|
c784c0e94b
|
Some renaming. Store the BlendState/MaskState.
|
2022-09-02 21:07:29 +02:00 |
|
Unknown W. Brackets
|
c5fbb400de
|
Replacement: Detect OOM even with replacements.
Also allow saving video textures if so configured.
|
2022-09-01 19:05:20 -07:00 |
|
Unknown W. Brackets
|
1033fa6cd7
|
Vulkan: Prevent saving tex during replace load.
|
2022-09-01 18:52:52 -07:00 |
|
Henrik Rydgård
|
2bf0c86ac7
|
Fix image format when dumping textures.
Fixes #15831
|
2022-09-01 15:04:59 +02:00 |
|
Henrik Rydgård
|
11d4f9acb6
|
Fix texture saving for Vulkan
|
2022-09-01 15:04:59 +02:00 |
|
Henrik Rydgård
|
9097fdaae6
|
Shrink VkRenderData from 88 to 64 bytes.
|
2022-09-01 14:21:34 +02:00 |
|
Henrik Rydgård
|
67d6549afd
|
Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU.
|
2022-08-31 14:23:33 +02:00 |
|
Henrik Rydgård
|
08eaf7665c
|
Fix race condition in replacement texture loading
The texture could become valid during the load, causing an inconsistent
state within the texture loading. So can only check for valid-ness once.
|
2022-08-30 12:52:31 +02:00 |
|
Henrik Rydgård
|
6f2966f502
|
Clean up mip size calculations
Calculating the same thing in multiple places is a recipe for bugs, so
let's not.
|
2022-08-30 12:05:57 +02:00 |
|
Henrik Rydgård
|
b447092742
|
Some Vulkan renderpass load/store optimizations.
|
2022-08-28 23:16:48 +02:00 |
|
Unknown W. Brackets
|
a8190f3eb4
|
GPU: Recheck depth/stencil after Spongebob hack.
Since we swap the compare, we should at least recheck it later.
|
2022-08-28 08:39:05 -07:00 |
|
Unknown W. Brackets
|
18e1efece1
|
GPU: Add a way to defer dirty rechecks.
These are situations where we have temporary state which will require
recalc again later.
|
2022-08-28 08:34:48 -07:00 |
|
Henrik Rydgård
|
df92f72ac3
|
Unify the spongebob depth inverse check
|
2022-08-28 07:11:00 +02:00 |
|
Henrik Rydgård
|
880ea48e2d
|
Implement the stencil/alpha reverse trick for all backends
|
2022-08-27 10:25:18 +02:00 |
|
Henrik Rydgård
|
6781dd5fe8
|
Fix Katamari
|
2022-08-26 23:47:22 +02:00 |
|