Commit graph

7093 commits

Author SHA1 Message Date
Samuliak
03ce2d3e7d
implement dma and flush functions 2024-10-06 11:29:53 +02:00
Samuliak
62168ca0f0
draw properly 2024-10-06 10:03:53 +02:00
Samuliak
5b9a9f3077
create vertex descriptor
Some checks are pending
codespell / Check for spelling errors (push) Waiting to run
suyu verify / Verify Format (push) Waiting to run
suyu verify / test build (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
2024-10-05 21:29:25 +02:00
Samuliak
0b12e22331
emit vertex attributes 2024-10-05 19:28:27 +02:00
Samuliak
5ace31b471
bind uniform buffers 2024-10-05 18:45:57 +02:00
Samuliak
1d39266956
fix: constant buffers not getting bound
Some checks are pending
codespell / Check for spelling errors (push) Waiting to run
suyu verify / Verify Format (push) Waiting to run
suyu verify / test build (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
2024-10-05 17:02:46 +02:00
Samuliak
dac285f6d9
bind buffers correctly 2024-10-05 16:27:00 +02:00
Samuliak
c24e3c23ff
bind vertex buffers 2024-10-05 15:40:10 +02:00
Samuliak
89ff6909a9
bind stage buffers 2024-10-05 15:25:11 +02:00
Samuliak
a66708e362
rework the binding system 2024-10-05 15:06:58 +02:00
Samuliak
08dbc9bd8d
prevent buffer view from crashing 2024-10-05 14:11:58 +02:00
Samuliak
c921e32d48
Merge branch 'dev' into metal-dev 2024-10-05 13:20:03 +02:00
Samuliak
c52427b676
mark format functions as const 2024-10-05 08:04:46 +02:00
Samuliak
4844961618 merge 'dev' into 'metal-dev' 2024-10-05 07:56:18 +02:00
CrimsonHawk
509b880eec
Revert all the trash commits that were breaking build, back to e5c47e911b
This reverts commit 592f93b26c.
2024-10-05 13:50:31 +08:00
Samuliak
8824486af6 merge 'dev' into 'metal-dev'
Some checks are pending
codespell / Check for spelling errors (push) Waiting to run
suyu verify / Verify Format (push) Waiting to run
suyu verify / test build (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
2024-10-04 17:33:13 +02:00
Samuliak
909a4290d1 save compiled functions 2024-10-04 16:30:28 +02:00
Crunch (Chaz9)
3aca4a3490 Updated
Some checks failed
codespell / Check for spelling errors (push) Waiting to run
suyu-ci / Check REUSE Specification (push) Waiting to run
suyu verify / Verify Format (push) Has been cancelled
suyu verify / test build (push) Has been cancelled
suyu verify / android (push) Has been cancelled
2024-09-29 21:31:09 +01:00
Herman Semenov
e886f27816 Using reserve() for optimization inserts, marked unused pair items and minor code refactor 2024-09-15 17:30:44 +02:00
Samuliak
3a51a8de2e rework the binding system 2024-05-05 11:43:27 +02:00
Samuliak
49f60adeb2 fix: more msl errors 2024-05-04 21:09:30 +02:00
Samuliak
055112b739 fix: some errors in msl backend 2024-05-04 15:31:54 +02:00
Samuliak
042788cd71 generate shader output in msl 2024-05-04 12:13:52 +02:00
Samuliak
16986bf42f attempt to compile msl shaders 2024-05-04 12:00:51 +02:00
Samuliak
5a2c073ebe use msl recompiler 2024-05-04 11:25:23 +02:00
Samuliak
8ff1ce68c3
metal: flip y texture coordinate 2024-04-10 19:55:56 +02:00
Samuliak
e3ab4c6349
metal: minimalize texture hardcoding 2024-04-10 17:41:45 +02:00
Samuliak
98c4ff461f
metal: don't bind resources that are already bound 2024-04-10 17:20:24 +02:00
Samuliak
4771cd1602
fix(metal): fix incorrect size in buffer to image copy 2024-04-10 17:03:55 +02:00
Samuliak
2f9fd5d69c
metal: set texture usage flags 2024-04-09 19:59:27 +02:00
Samuliak
f5830983be
metal: bind sampler to shader 2024-04-09 18:52:25 +02:00
Samuliak
1a284e4bb7
metal: translate pixel formats 2024-04-09 17:30:55 +02:00
Samuliak
efda44779f
fix(metal): fix buffer to texture copy 2024-04-09 16:31:04 +02:00
Samuliak
786cd8a708
metal: implement buffer to texture copy 2024-04-09 15:49:12 +02:00
Samuliak
0a2227d1f8
metal: bind and sample from texture 2024-04-09 15:23:44 +02:00
Samuliak
a00d9a9027
metal: translate shaders to spirv 2024-04-08 18:52:31 +02:00
Samuliak
67dab8b8d8
metal: do not release null mtl textures 2024-04-08 18:30:04 +02:00
Samuliak
40eca20e12
metal: implement buffer to buffer copy 2024-04-08 17:03:25 +02:00
Samuliak
3fa495840a
metal: configure pipeline before drawing 2024-04-08 16:47:08 +02:00
Samuliak
22ec7e72f0
metal: do not begin render pass if already active 2024-04-08 16:36:29 +02:00
Samuliak
2c38fa1a35
metal: add render pass interruption notice 2024-04-08 16:27:28 +02:00
Exverge
4ea55a855a
fix: clang format 2024-04-07 14:03:32 -04:00
Samuliak
90b8671ddb
metal: bind pipeline and draw for the first time 2024-04-07 18:46:01 +02:00
Samuliak
4d700ac01c
metal: create pipeline cache at startup 2024-04-07 17:58:30 +02:00
Samuliak
58ac31e2be
metal: support buffer to buffer copy 2024-04-07 16:03:20 +02:00
Samuliak
081ad83490
metal: add basic compute pipeline 2024-04-07 15:51:11 +02:00
Samuliak
a5e7672de5
metal: blit rendering result to drawable 2024-04-07 13:08:14 +02:00
Samuliak
c8a717651c
metal: create basic graphics pipeline 2024-04-07 11:58:35 +02:00
Samuliak
bc25c8831d
metal: test buffer creation 2024-04-07 09:25:03 +02:00
Samuliak
b3e8d8d11f
metal: create buffer cache on startup 2024-04-07 09:06:15 +02:00