Commit Graph

899 Commits

Author SHA1 Message Date
Samuliak
61de5a3d3a
only log todo for vulkan output shader 2024-11-01 15:51:44 +01:00
Samuliak
6eb46ed6eb
remove 'Vulkan' from cache loading message 2024-11-01 15:46:49 +01:00
Samuliak
927c52e268
implement calculate texture lod 2024-11-01 15:30:15 +01:00
Samuliak
7eb8508db4
fix: CI when metal is disabled 2024-10-31 17:13:22 +01:00
Samuliak
e7ac19979d
make occlusion queries accumulate with draws 2024-10-30 09:20:50 +01:00
Samuliak
00256e5589
only set blend color when changed 2024-10-29 17:43:29 +01:00
SamoZ256
a61d0f0237
Merge pull request #7 from SamoZ256/metal-pipeline-cache
Pipeline cache
2024-10-29 17:33:36 +01:00
Samuliak
85db0dc468
cache all pipelines 2024-10-29 07:44:47 +01:00
SamoZ256
228fd347e7
Merge pull request #9 from SamoZ256/metal-async-pipelines
Async pipeline compilation
2024-10-29 06:57:39 +01:00
Samuliak
7906733bfa
don't compile certain pipelines async 2024-10-28 19:02:44 +01:00
Samuliak
4e3f94e870
compile pipelines async 2024-10-28 17:32:43 +01:00
Samuliak
bca32c43d0
refactor the way pipelines are stored 2024-10-28 16:38:17 +01:00
Samuliak
665eb23e4a
fix: incorrect pipeline compilation time report 2024-10-28 16:11:47 +01:00
Samuliak
b8021b642d
fix: incorrect texture usages 2024-10-24 18:15:19 +02:00
Samuliak
1750715791
retrieve ps input table without using global variable 2024-10-19 15:32:45 +02:00
Samuliak
295a6ed9fd
only add pipeline to cache if compilation was attempted 2024-10-19 09:39:55 +02:00
Samuliak
15eb6bb37f
fix: pipeline cache with mesh shaders 2024-10-19 09:29:14 +02:00
Samuliak
8f2385a690
use lcr instead of contextNew 2024-10-16 19:20:25 +02:00
Samuliak
7d9194a738
don't overshadow error 2024-10-15 20:24:04 +02:00
Samuliak
4dcb858ab8
check if pipeline is eligible for serializing 2024-10-15 20:03:26 +02:00
Samuliak
cbde7f983c
force compile shaders if needed 2024-10-15 19:48:32 +02:00
Samuliak
d1c69e9945
set shader just before compiling 2024-10-15 19:19:16 +02:00
Samuliak
79f5586c6c
report pipeline compilation count 2024-10-15 18:32:12 +02:00
Samuliak
944cc8be7d
store loaded pipelines 2024-10-15 17:47:47 +02:00
Samuliak
cd21d957b3
refactor fbos 2024-10-15 17:15:46 +02:00
Samuliak
6b47d4f61e
implement pipeline cache serializing 2024-10-15 07:48:59 +02:00
Samuliak
e9e510d2cd
add: base for pipeline caching 2024-10-14 20:00:37 +02:00
Samuliak
8b783e63dc
refactor pipeline cache 2024-10-13 09:20:45 +02:00
SamoZ256
fabaf1621d
Merge pull request #6 from SamoZ256/metal-async
Implement async shader compilation
2024-10-11 15:47:01 +02:00
Samuliak
641ef71cab
count compiled shaders properly 2024-10-10 19:38:14 +02:00
Samuliak
03bc647e1c
prepone compilation for rect geometry shaders 2024-10-10 18:53:22 +02:00
Samuliak
bdfac965e0
implement async shader compilation 2024-10-10 18:26:14 +02:00
Samuliak
bfd9059eec
remove the -g flag on debug builds 2024-10-09 16:54:02 +02:00
Samuliak
756470f1a7
remove CMake hacks 2024-10-09 16:47:15 +02:00
Samuliak
6b784ad949 log relevant settings 2024-10-02 17:28:50 +02:00
Samuliak
ebcb62a785 add: an option to turn fast math off 2024-10-02 17:18:20 +02:00
Samuliak
6ba6157bae properly implement ABGR4 decoder 2024-10-01 19:37:11 +02:00
Samuliak
2fb4d83a5f don't set verticesPerInstance twice 2024-10-01 19:07:19 +02:00
SamoZ256
6dc8f9a019
Merge pull request #5 from SamoZ256/metal-no-vertex-restride
No vertex restride
2024-10-01 18:46:21 +02:00
Samuliak
50175fce66 report manual vertex fetch draws per frame 2024-10-01 18:18:39 +02:00
Samuliak
f2096deddd remove vertex restriding code 2024-10-01 18:11:05 +02:00
Samuliak
94e8ed5a46 fetch vertices manually if needed 2024-10-01 17:38:14 +02:00
Samuliak
a3bfde80b0 remove old present pipelines 2024-09-30 19:59:30 +02:00
Samuliak
5d01c77efc rename hybrid pipeline to void vertex pipeline 2024-09-30 19:43:53 +02:00
Samuliak
c65123bbbe use logging instead of printing 2024-09-30 19:36:13 +02:00
Samuliak
778037f335 remove useless print statement 2024-09-30 19:28:09 +02:00
Samuliak
07cb8b800a set output shader uniforms 2024-09-30 16:39:26 +02:00
Samuliak
28e553eb1a cache output shaders 2024-09-30 16:28:07 +02:00
Samuliak
b088ddcfab implement output shaders 2024-09-30 14:18:00 +02:00
Samuliak
6c8cd5c445 use private storage mode when possible 2024-09-30 13:31:28 +02:00