Commit graph

27416 commits

Author SHA1 Message Date
3a51a8de2e rework the binding system 2024-05-05 11:43:27 +02:00
49f60adeb2 fix: more msl errors 2024-05-04 21:09:30 +02:00
055112b739 fix: some errors in msl backend 2024-05-04 15:31:54 +02:00
7920249ed1 move input generation to context 2024-05-04 14:49:33 +02:00
377a03fe5f support shader inputs 2024-05-04 14:31:30 +02:00
042788cd71 generate shader output in msl 2024-05-04 12:13:52 +02:00
16986bf42f attempt to compile msl shaders 2024-05-04 12:00:51 +02:00
5a2c073ebe use msl recompiler 2024-05-04 11:25:23 +02:00
61dfe608da add: msl shader recompiler 2024-05-04 11:19:34 +02:00
8ff1ce68c3
metal: flip y texture coordinate 2024-04-10 19:55:56 +02:00
e3ab4c6349
metal: minimalize texture hardcoding 2024-04-10 17:41:45 +02:00
98c4ff461f
metal: don't bind resources that are already bound 2024-04-10 17:20:24 +02:00
4771cd1602
fix(metal): fix incorrect size in buffer to image copy 2024-04-10 17:03:55 +02:00
2f9fd5d69c
metal: set texture usage flags 2024-04-09 19:59:27 +02:00
f5830983be
metal: bind sampler to shader 2024-04-09 18:52:25 +02:00
1a284e4bb7
metal: translate pixel formats 2024-04-09 17:30:55 +02:00
efda44779f
fix(metal): fix buffer to texture copy 2024-04-09 16:31:04 +02:00
786cd8a708
metal: implement buffer to texture copy 2024-04-09 15:49:12 +02:00
0a2227d1f8
metal: bind and sample from texture 2024-04-09 15:23:44 +02:00
a00d9a9027
metal: translate shaders to spirv 2024-04-08 18:52:31 +02:00
67dab8b8d8
metal: do not release null mtl textures 2024-04-08 18:30:04 +02:00
40eca20e12
metal: implement buffer to buffer copy 2024-04-08 17:03:25 +02:00
3fa495840a
metal: configure pipeline before drawing 2024-04-08 16:47:08 +02:00
22ec7e72f0
metal: do not begin render pass if already active 2024-04-08 16:36:29 +02:00
2c38fa1a35
metal: add render pass interruption notice 2024-04-08 16:27:28 +02:00
4ea55a855a
fix: clang format 2024-04-07 14:03:32 -04:00
90b8671ddb
metal: bind pipeline and draw for the first time 2024-04-07 18:46:01 +02:00
4d700ac01c
metal: create pipeline cache at startup 2024-04-07 17:58:30 +02:00
58ac31e2be
metal: support buffer to buffer copy 2024-04-07 16:03:20 +02:00
081ad83490
metal: add basic compute pipeline 2024-04-07 15:51:11 +02:00
a5e7672de5
metal: blit rendering result to drawable 2024-04-07 13:08:14 +02:00
c8a717651c
metal: create basic graphics pipeline 2024-04-07 11:58:35 +02:00
bc25c8831d
metal: test buffer creation 2024-04-07 09:25:03 +02:00
b3e8d8d11f
metal: create buffer cache on startup 2024-04-07 09:06:15 +02:00
AMA2581
d33d50780e
adding swiftUI notice 2024-04-07 08:12:08 +03:30
0feb0aa7a1
metal: todo a fix for NULL images 2024-04-06 23:15:48 -04:00
32c49173ad
fix: clang format 2024-04-06 22:00:34 -04:00
c3584e6c39
metal: make metal-cpp a proper external 2024-04-06 21:55:33 -04:00
76009b05a8
temp CI fix 2024-04-06 20:52:29 -04:00
3f76e5b8d7
metal: logging 2024-04-06 20:51:23 -04:00
75386a5de7
metal: add missing copyright and license information 2024-04-06 20:42:17 +02:00
844eff564e Don't include objective C in the list of languages 2024-04-06 20:37:31 +02:00
897e0dfdc0 metal: use metal cpp 2024-04-06 20:33:10 +02:00
cc0cde9c3f Add metal-cpp to externals 2024-04-06 20:33:10 +02:00
74c1c77973
fix: check if apple before enabling objc
Some compilers either only compile to an objc v1 or don't compile it at all, while it most likely wouldn't cause issues I added this just in case we stay on objc
2024-04-06 12:22:43 -04:00
3c82b81899
metal: change license identifiers to GPL-2.0-or-later 2024-04-06 17:50:45 +02:00
e947a06441
fix: include metal renderer in ALL_LOG_CLASSES 2024-04-06 17:46:31 +02:00
ef8b77c9a3
metal: do not release not existing buffers 2024-04-06 17:35:12 +02:00
e87893ec42 metal: add basic buffer cache 2024-04-06 17:28:56 +02:00
19503fd643 metal: print debug messages 2024-04-06 17:28:56 +02:00