Commit graph

1965 commits

Author SHA1 Message Date
Samuliak
5d5df1931f turn config1 into a spec constant 2024-07-06 08:04:59 +02:00
Samuliak
0752a583b5 turn num lights into spec constant 2024-07-05 22:12:00 +02:00
Samuliak
0c19f5a3ea specialize shader 2024-07-05 20:29:05 +02:00
Samuliak
7e8582d985 fix: incorrect lut texture format 2024-07-05 18:49:17 +02:00
Samuliak
3005468b3f compile shaders to a metallib file 2024-07-05 17:49:04 +02:00
Samuliak
5741de2cad fix: depth transform 2024-07-05 09:44:16 +02:00
Samuliak
b8e155bd4a fix: incorrect depth map logic 2024-07-04 11:42:25 +02:00
Samuliak
13439699ee implement depth uniforms 2024-07-04 11:34:54 +02:00
Samuliak
e8727d5dbd implement clipping & alpha testing 2024-07-04 10:36:25 +02:00
Samuliak
c5bdb28ca1 fix: lighting & use lut texture 2024-07-04 09:37:28 +02:00
Samuliak
3e9d2a852c implement lighting in shaders 2024-07-04 07:37:28 +02:00
Samuliak
27c74d8974 emulate logic op in the shader 2024-07-03 20:52:05 +02:00
Samuliak
dfe38a757c check if drawable is valid 2024-07-03 18:15:30 +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
a08d61ad46 use proper primitive types 2024-07-03 15:16:03 +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
9ec116da18 enable stencil testing 2024-07-03 12:07:56 +02:00
Samuliak
dff6f5bf3f implement proper blending 2024-07-03 11:37:44 +02:00
Samuliak
da8f2ff45d enable depth test 2024-07-03 10:39:14 +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
05fd1d5c29 fix: incorrect z position 2024-07-02 19:55:40 +02:00
Samuliak
ceb3922544 add: temporary depth hack 2024-07-02 19:54:36 +02:00
Samuliak
863edac152 revert formatting 2024-07-02 19:19:37 +02:00
SamoZ256
124622cf18
Merge branch 'metal' into metal 2024-07-02 17:44:32 +02:00
Samuliak
3be48c7c0c implement clearBuffer for color render targets 2024-07-02 17:28:11 +02:00
Samuliak
940f05bb85 remove outdated message 2024-07-02 17:22:08 +02:00
Samuliak
99f16cc859 draw top and bottom screens correctly 2024-07-02 17:08:23 +02:00
Samuliak
cd12d88994 flip y positions 2024-07-02 16:58:29 +02:00
Samuliak
56262c2c24 use proper render targets 2024-07-02 16:54:48 +02:00
wheremyfoodat
35b49d0b6c
Merge pull request #526 from wheremyfoodat/bleh
Add SDMC::DeleteFile
2024-07-02 14:44:23 +00:00
wheremyfoodat
0fe62f9b46 Correct archive names 2024-07-02 17:32:17 +03:00
wheremyfoodat
de9375122b Add SDMC::DeleteFile 2024-07-02 17:30:51 +03:00
wheremyfoodat
5b408e784b
Merge pull request #525 from wheremyfoodat/bleh
HLE DSP: Add PCM8 audio decoding
2024-07-02 14:30:33 +00:00
wheremyfoodat
800c11ff62 HLE DSP: Add PCM8 audio decoding 2024-07-02 17:19:20 +03:00
Samuliak
53c9611ac2 add: render target caches 2024-07-02 16:06:20 +02:00
wheremyfoodat
eacf290f31
Merge pull request #524 from wheremyfoodat/y2r
Delay Y2R completion events
2024-07-02 13:29:17 +00:00
Samuliak
67e3a1d8eb create a buffer when there are too many vertices 2024-07-02 15:27:50 +02:00
Samuliak
225f806eab support etc texture formats 2024-07-02 15:14:50 +02:00
Samuliak
96041e9d29 remove useless code 2024-07-02 15:09:12 +02:00
Samuliak
19d87445b5 implement environment colors 2024-07-02 15:07:40 +02:00
wheremyfoodat
d4cf54d56c Tweak Y2R timings 2024-07-02 15:57:39 +03:00
Samuliak
ee74af43ec upload env state to the shader 2024-07-02 14:48:50 +02:00
wheremyfoodat
1c9a3ac3d3 Add Y2R event delay 2024-07-02 15:30:38 +03:00
Samuliak
3bb1ccd4d8 sample textures 2024-07-02 14:02:00 +02:00