Commit graph

106 commits

Author SHA1 Message Date
Samuliak
0c216e40e0
speed up render pass change check 2025-01-25 20:23:22 +01:00
Samuliak
14f42fc653
create stack scoped helper macro 2025-01-25 08:59:48 +01:00
Samuliak
bc6fb816da
add auto option for position invariance 2025-01-23 14:50:14 +01:00
Samuliak
97b806f16f
rework buffer allocators 2025-01-18 14:42:57 +01:00
Samuliak
24ff85b11f
implement new index cache 2025-01-18 09:40:31 +01:00
Samuliak
a28f9d65fc
fix: incorrect texture view pointers 2025-01-12 13:45:38 +01:00
Samuliak
82c2d14828
fix: device preference not getting loaded 2025-01-12 13:08:30 +01:00
Samuliak
a0239cb756
check for framebuffer fetch support 2025-01-09 16:27:45 +01:00
Samuliak
3fae686f21
remove the accurate barriers option 2025-01-09 16:11:52 +01:00
Samuliak
27a31fedab
clean up accurate barriers 2025-01-08 16:58:06 +01:00
Samuliak
1d8806cf06
add an option to capture GPU frame 2025-01-04 12:42:06 +01:00
Samuliak
08ea28f56e
add an option to select gpu for metal 2024-12-18 19:51:58 +01:00
Samuliak
770d6cfda7
Revert "rework gpu selection"
This reverts commit d64e0c9b6f.
2024-12-18 19:30:12 +01:00
Samuliak
d64e0c9b6f
rework gpu selection 2024-12-15 13:18:24 +01:00
Samo Z
18bd24b9c7 only set concurrent compilation if Metal 3 is available 2024-11-30 20:00:06 +01:00
Samuliak
009dab8a28
remove useless includes 2024-11-23 08:41:00 +01:00
Samuliak
00857b233b
support arbitrary pixel formats for state 5 2024-11-22 20:03:41 +01:00
Samuliak
66ad59db92
implement state 5 through a draw call 2024-11-22 19:44:49 +01:00
Samuliak
8a8037377f
rework the command buffer system 2024-11-16 15:28:23 +01:00
Samuliak
a52095b40a
sync between command buffers 2024-11-10 20:09:24 +01:00
Samuliak
2c9f627f72
remove MetalLogging log type 2024-11-08 08:33:39 +01:00
Samuliak
c46c8214f5
refactor command buffers 2024-11-05 17:57:20 +01:00
Samuliak
552c4901b9
implement occlusion query flush 2024-11-05 17:42:02 +01:00
Samuliak
ea0a30b564
handle special state 8 and 5 2024-11-05 17:13:34 +01:00
Samuliak
e00d244e0d
remove unused code 2024-11-03 16:45:13 +01:00
Samuliak
ab41de4f9f
use host memory instead of buffer cache when possible 2024-11-03 11:53:16 +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
Samuliak
cd21d957b3
refactor fbos 2024-10-15 17:15:46 +02:00
Samuliak
f2096deddd remove vertex restriding code 2024-10-01 18:11:05 +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
28e553eb1a cache output shaders 2024-09-30 16:28:07 +02:00
Samuliak
aa81070e87 refactor pixel formats 2024-09-16 19:44:49 +02:00
Samuliak
358567ad4a make a workaround for streamout with no fbo 2024-09-14 22:06:30 +02:00
Samuliak
008c11ce71 allocate special buffers only when needed 2024-09-14 17:12:02 +02:00
Samuliak
e89efed743 request soon commit instead of committing directly 2024-09-13 16:12:47 +02:00
Samuliak
934b1f8b55 handle occlusion queries with no draws 2024-09-13 15:28:51 +02:00
Samuliak
fd16488e4c improve command buffer sync 2024-09-13 11:19:56 +02:00
Samuliak
eb7c10e89f implement occlusion queries 2024-09-13 10:41:03 +02:00
Samuliak
4cce3699f3 put query object into a separate file 2024-09-12 08:05:27 +02:00
Samuliak
9c29acc635 synchronize buffer copying correctly 2024-08-30 15:27:55 +02:00
Samuliak
2f822d07c7 support game pad view in a separate window 2024-08-30 08:57:50 +02:00
Samuliak
1cfb841b5f do buffer cache uploading on the GPU 2024-08-29 19:06:01 +02:00
Samuliak
a4ff855585 do buffer copying in a void vertex function 2024-08-29 15:32:32 +02:00
Samuliak
35740c5c8e always do texture copies on gpu 2024-08-28 15:26:42 +02:00
Samuliak
be76dadb90 do surface copy properly 2024-08-28 13:43:06 +02:00
Samuliak
b7a1adec91 clip mode 2024-08-27 14:39:52 +02:00
Samuliak
cd8b74ba32 fix: buffer allocator leaks 2024-08-26 18:31:22 +02:00
Samo Z
b7f88d093a implement buffer locking system 2024-08-26 12:22:33 +02:00