Commit graph

168 commits

Author SHA1 Message Date
Samuliak
ea0a30b564
handle special state 8 and 5 2024-11-05 17:13:34 +01:00
Samuliak
07c62d5f95
release texture upload buffer 2024-11-05 17:06:08 +01:00
Samuliak
a00d409ab7
improve host and device shared buffer cache modes 2024-11-04 16:03:34 +01:00
Samuliak
fbea328b9b
correctly report memory usage for host buffer cache 2024-11-03 16:58:32 +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
7906733bfa
don't compile certain pipelines async 2024-10-28 19:02:44 +01:00
Samuliak
bca32c43d0
refactor the way pipelines are stored 2024-10-28 16:38:17 +01:00
Samuliak
b8021b642d
fix: incorrect texture usages 2024-10-24 18:15:19 +02:00
Samuliak
cbde7f983c
force compile shaders if needed 2024-10-15 19:48:32 +02:00
Samuliak
cd21d957b3
refactor fbos 2024-10-15 17:15:46 +02:00
Samuliak
8b783e63dc
refactor pipeline cache 2024-10-13 09:20:45 +02:00
Samuliak
bdfac965e0
implement async shader compilation 2024-10-10 18:26:14 +02:00
Samuliak
2fb4d83a5f don't set verticesPerInstance twice 2024-10-01 19:07:19 +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
ed5f72a1ca include texture decoder in pixel format info 2024-09-28 12:06:49 +02:00
Samuliak
3cf831d46a do vertex restride on the GPU & don't over-sync 2024-09-23 16:47:22 +02:00
Samuliak
4b548f9482 never disable accurate barriers for certain shaders 2024-09-21 14:58:31 +02:00
Samuliak
7ad57f5cc8 add the option to disable accurate barriers 2024-09-21 14:02:30 +02:00
Samuliak
a460a5d28a do vertex restride on the CPU 2024-09-21 09:28:46 +02:00
Samuliak
f03c0a2769 only set buffer offset if needed 2024-09-19 10:05:48 +02:00
Samuliak
aa81070e87 refactor pixel formats 2024-09-16 19:44:49 +02:00
Samuliak
535107e1f4 fix: invalid surface copy depth 2024-09-16 09:50:39 +02:00
Samuliak
8ac90cef7e use correct stages for buffer sync 2024-09-16 08:38:08 +02:00
Samuliak
358567ad4a make a workaround for streamout with no fbo 2024-09-14 22:06:30 +02:00
Samuliak
2961151f25 correct comment 2024-09-14 17:21:23 +02:00
Samuliak
008c11ce71 allocate special buffers only when needed 2024-09-14 17:12:02 +02:00
Samuliak
b5954d8f5b release command buffers properly 2024-09-14 08:23:45 +02:00
Samuliak
e89efed743 request soon commit instead of committing directly 2024-09-13 16:12:47 +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
a328c5e753 use uchar for index type 2024-09-11 12:43:15 +02:00
Samuliak
950f04d444 support instancing for mesh shaders 2024-09-11 12:22:45 +02:00
Samuliak
3dc233fb56 support rasterization kill 2024-09-07 11:00:10 +02:00
Samuliak
548ffb6b57 add: todo notices 2024-09-06 19:15:56 +02:00
Samuliak
953975f5ec don't jit compile vertex shaders 2024-09-03 13:59:52 +02:00
Samuliak
c4eb195797 make all textures be at least 1x1x1 2024-09-02 08:25:36 +02:00
Samuliak
491ac694ab fix: object shader error when used with rect primitive 2024-09-01 18:58:48 +02:00