Commit graph

31 commits

Author SHA1 Message Date
Samuliak
7731787aa2 fix: remaining memory leaks 2024-07-07 13:50:27 +02:00
Samuliak
23af64ade8 release resources 2024-07-07 12:34:04 +02:00
Samuliak
3431f6d192 include debug information 2024-07-07 12:12:34 +02:00
Samuliak
5f5cb02bf6 fix: clear ops not having the correct render pass 2024-07-07 08:36:41 +02:00
Samuliak
7ca08004af fix: incorrect render pass end logic 2024-07-06 22:17:16 +02:00
Samuliak
a9b4f64ca7 use map instead of vector for clear ops 2024-07-06 22:08:15 +02:00
Samuliak
e33339b655 clean up clear attachment code 2024-07-06 21:47:56 +02:00
Samuliak
498c4daed8 do clears as load ops if possible 2024-07-06 17:28:35 +02:00
Samuliak
42fc2bb490 do the copy on the GPU 2024-07-06 09:58:20 +02:00
Samuliak
80bd8f54c3 create copy pipeline 2024-07-06 09:39:12 +02:00
Samuliak
0c19f5a3ea specialize shader 2024-07-05 20:29:05 +02:00
Samuliak
c5bdb28ca1 fix: lighting & use lut texture 2024-07-04 09:37:28 +02:00
Samuliak
b6c72e72e4 use sampler states 2024-07-03 17:45:55 +02:00
Samuliak
9527c2acdb rename files 2024-07-03 15:26:36 +02:00
Samuliak
b220c163e3 support stencil attachments 2024-07-03 15:01:37 +02:00
Samuliak
720882efeb store vertices in 1 big buffer 2024-07-03 14:31:15 +02:00
Samuliak
ea56f45fc2 only begin a new render pass when necessary 2024-07-03 12:48:40 +02:00
Samuliak
d977f7ef85 use depth stencil render target 2024-07-03 10:21:49 +02:00
Samuliak
9241306d4d implement pipeline cache 2024-07-03 09:36:23 +02:00
Samuliak
1ba54b44fb support depth render targets 2024-07-03 07:40:32 +02:00
Samuliak
1df81c373c handle screen rotation correctly & fix: srgb 2024-07-02 20:31:59 +02:00
Samuliak
56262c2c24 use proper render targets 2024-07-02 16:54:48 +02:00
Samuliak
53c9611ac2 add: render target caches 2024-07-02 16:06:20 +02:00
Samuliak
ee74af43ec upload env state to the shader 2024-07-02 14:48:50 +02:00
Samuliak
3bb1ccd4d8 sample textures 2024-07-02 14:02:00 +02:00
Samuliak
b62a14d3ff implement textures 2024-07-02 13:40:29 +02:00
Samuliak
bac3a8e040 add: texture cache 2024-07-02 13:25:05 +02:00
Samuliak
4bc19e8e43 fix: issues with drawing 2024-07-02 10:05:59 +02:00
Samuliak
c6704f9218 draw 2024-07-02 09:42:23 +02:00
Samuliak
d41e77491a rewrite shaders 2024-07-02 09:02:03 +02:00
Samuliak
f0547d1a71 metal: initial support 2024-07-02 08:28:41 +02:00