Commit Graph

4051 Commits

Author SHA1 Message Date
Samuliak d5b98d6187 declare local memory 2024-12-23 21:28:51 -06:00
Samuliak 913f25b2a0 support multiple render targets & fix: incorrect texture name 2024-12-23 21:28:41 -06:00
Samuliak 5d0ae23a0b put render pipeline cache into a separate file 2024-12-23 21:28:38 -06:00
Samuliak dd5fb8bed9 implement pipeline cache 2024-12-23 21:28:36 -06:00
Isaac Marovitz 2316f30de1 Use return value of BeginRenderPass 2024-12-23 21:28:33 -06:00
Isaac Marovitz 96eea9de23 Cleanup 2024-12-23 21:28:31 -06:00
Samuliak 9c5917912b remove outdated comment 2024-12-23 21:28:29 -06:00
Isaac Marovitz efe575c9b2 Fix table 2024-12-23 21:28:27 -06:00
Isaac Marovitz ba4d6815ea Dont hardcode Vertex Format 2024-12-23 21:28:20 -06:00
Samuliak 9b99f55c4f style 2024-12-23 21:28:17 -06:00
Samuliak 5a6169b19d bring back inline updates for some state 2024-12-23 21:28:15 -06:00
Samuliak f30aa98ce5 fix: don't rebind pipeline unless dirty 2024-12-23 21:28:12 -06:00
Samuliak 149141594f don't bind null vertex buffers 2024-12-23 21:28:09 -06:00
Samuliak b5f15de64f mark state as dirty 2024-12-23 21:28:07 -06:00
Samuliak bc9a26bbf2 add todo notice 2024-12-23 21:28:04 -06:00
Samuliak f3d314104f don't end render pass when not neccessary 2024-12-23 21:28:01 -06:00
Isaac Marovitz 6324569dd2 Remove rebase garbage 2024-12-23 21:27:30 -06:00
Isaac Marovitz 2c474050f8 Be smart and use a bitmask not a list 2024-12-23 21:27:18 -06:00
Isaac Marovitz 46cc993f9a Cleanup 2024-12-23 21:27:15 -06:00
Isaac Marovitz c51c8bdae6 Fix Vertex Attributes in Wonder & Kirby 2024-12-23 21:27:13 -06:00
Isaac Marovitz 4f356b4117 Implement SetDepthClamp 2024-12-23 21:27:10 -06:00
Isaac Marovitz 15051d6e56 Implement SetBlendState 2024-12-23 21:27:08 -06:00
Isaac Marovitz 2587e1ff22 Be consistent with things that lack support 2024-12-23 21:27:06 -06:00
Isaac Marovitz 0d5292ff8c Ignore SetDepthMode 2024-12-23 21:27:04 -06:00
Isaac Marovitz 401ad1f983 Make Texture Volatile on dispose 2024-12-23 21:26:57 -06:00
Isaac Marovitz 3c1ef06151 Format 2024-12-23 21:26:49 -06:00
Isaac Marovitz 95af212cfc Fix present 2024-12-23 21:26:46 -06:00
Isaac Marovitz 4190abbbf5 Fix Depth/Stencil attachments 2024-12-23 21:25:27 -06:00
Isaac Marovitz c7b6e4cf80 Break everything :D 2024-12-23 21:25:24 -06:00
Isaac Marovitz 96d884a15b Clamp ScissorRect 2024-12-23 21:25:21 -06:00
Isaac Marovitz f79ebd1141 Set DepthAttachmentPixelFormat 2024-12-23 21:25:19 -06:00
Isaac Marovitz 7f65ec0b8c Set Depth Attachment Texture 2024-12-23 21:25:17 -06:00
Isaac Marovitz 824321c88a Clamp Viewport ZNear & ZFar 2024-12-23 21:25:08 -06:00
Samuliak 91d1bb6c08 format 2024-12-23 21:24:50 -06:00
Samuliak 22d3fa068d use 0 instead of undef 2024-12-23 21:24:45 -06:00
Samuliak d08218a809 fix: pass array index as an additional argument to sample 2024-12-23 21:24:42 -06:00
Samuliak b7414c1e4d don't declare samplers for separate textures 2024-12-23 21:24:40 -06:00
Samuliak a66ab905a9 don't hardcode texture type 2024-12-23 21:24:37 -06:00
Samuliak 2bef29b200 offset storage buffer bindings by 15 2024-12-23 21:24:35 -06:00
Samuliak 72eb47513c fix: incorrect abs instruction 2024-12-23 21:24:32 -06:00
Samuliak 6095f14646 add: vertex and instance id arguments 2024-12-23 21:24:29 -06:00
Samuliak c3a9a0d625 determine type of buffer by its field types 2024-12-23 21:24:03 -06:00
Isaac Marovitz 18e1569941 Rebase + Format 2024-12-23 21:23:59 -06:00
Samuliak 362dc6eaea use unknown texture usage 2024-12-23 21:23:47 -06:00
Samuliak d66c39b64b don't hardcode render pipeline attachments 2024-12-23 21:23:42 -06:00
Samuliak de23abcf90 create GetSwizzle helper function 2024-12-23 21:23:32 -06:00
Samuliak b2a0ca0e2b add: textures and samplers as shader arguments & fix: issue with casting 2024-12-23 21:23:28 -06:00
Samuliak e3364b0fcc support fragment coord as an input to a shader 2024-12-23 21:23:24 -06:00
Samuliak 8a0dd491b9 support texture views 2024-12-23 21:23:20 -06:00
Isaac Marovitz ba05ed9552 Format 2024-12-23 21:23:14 -06:00