Commit Graph

3731 Commits

Author SHA1 Message Date
Samuliak bde83d8469
put render pipeline cache into a separate file 2024-09-18 23:26:23 +02:00
Samuliak d77f5a7fb1
implement pipeline cache 2024-09-18 23:26:22 +02:00
Isaac Marovitz 4d24cc6e63
Use return value of BeginRenderPass 2024-09-18 23:26:22 +02:00
Isaac Marovitz 9e799f5589
Cleanup 2024-09-18 23:26:22 +02:00
Samuliak 19f53084fc
remove outdated comment 2024-09-18 23:26:22 +02:00
Isaac Marovitz d72e63978e
Fix table 2024-09-18 23:26:21 +02:00
Isaac Marovitz a1851c480e
Dont hardcode Vertex Format 2024-09-18 23:26:21 +02:00
Samuliak e2fc86a67e
style 2024-09-18 23:26:21 +02:00
Samuliak f3885d72e5
bring back inline updates for some state 2024-09-18 23:26:20 +02:00
Samuliak 4235eddfd2
fix: don't rebind pipeline unless dirty 2024-09-18 23:26:20 +02:00
Samuliak 45f7e4ce53
don't bind null vertex buffers 2024-09-18 23:26:20 +02:00
Samuliak 5c34de072c
mark state as dirty 2024-09-18 23:26:19 +02:00
Samuliak 77ca515e06
add todo notice 2024-09-18 23:26:19 +02:00
Samuliak c3d1f93bc1
don't end render pass when not neccessary 2024-09-18 23:26:19 +02:00
Isaac Marovitz 9e8b333d9c
Remove rebase garbage 2024-09-18 23:26:18 +02:00
Isaac Marovitz ac96cb7587
Be smart and use a bitmask not a list 2024-09-18 23:26:18 +02:00
Isaac Marovitz 503291e5d9
Cleanup 2024-09-18 23:26:18 +02:00
Isaac Marovitz 408b72bce1
Fix Vertex Attributes in Wonder & Kirby 2024-09-18 23:26:17 +02:00
Isaac Marovitz 205df92942
Implement SetDepthClamp 2024-09-18 23:26:17 +02:00
Isaac Marovitz f72a5ccdf9
Implement SetBlendState 2024-09-18 23:26:17 +02:00
Isaac Marovitz 12fc642fb6
Be consistent with things that lack support 2024-09-18 23:26:17 +02:00
Isaac Marovitz c70f7005dd
Ignore SetDepthMode 2024-09-18 23:26:16 +02:00
Isaac Marovitz 500aff53b1
Make Texture Volatile on dispose 2024-09-18 23:26:16 +02:00
Isaac Marovitz 0a7cec1a29
Format 2024-09-18 23:26:15 +02:00
Isaac Marovitz 07e329a37c
Fix present 2024-09-18 23:26:15 +02:00
Isaac Marovitz 1433218fad
Fix Depth/Stencil attachments 2024-09-18 23:26:15 +02:00
Isaac Marovitz 741b74a991
Break everything :D 2024-09-18 23:26:14 +02:00
Isaac Marovitz 369476f775
Clamp ScissorRect 2024-09-18 23:26:14 +02:00
Isaac Marovitz 271d185861
Set DepthAttachmentPixelFormat 2024-09-18 23:26:13 +02:00
Isaac Marovitz a568e19434
Set Depth Attachment Texture 2024-09-18 23:26:13 +02:00
Isaac Marovitz 6d3df3a4ab
Clamp Viewport ZNear & ZFar 2024-09-18 23:26:13 +02:00
Samuliak 97f8c836d6
format 2024-09-18 23:26:13 +02:00
Samuliak 200da3dc55
use 0 instead of undef 2024-09-18 23:26:12 +02:00
Samuliak 4a65260655
fix: pass array index as an additional argument to sample 2024-09-18 23:26:12 +02:00
Samuliak d13e4c5101
don't declare samplers for separate textures 2024-09-18 23:26:12 +02:00
Samuliak 5741fb90f9
don't hardcode texture type 2024-09-18 23:26:11 +02:00
Samuliak 05eedc5066
offset storage buffer bindings by 15 2024-09-18 23:26:11 +02:00
Samuliak e4534bb0e0
fix: incorrect abs instruction 2024-09-18 23:26:11 +02:00
Samuliak 299ca72b7a
add: vertex and instance id arguments 2024-09-18 23:26:10 +02:00
Samuliak d1a60c7053
determine type of buffer by its field types 2024-09-18 23:26:10 +02:00
Isaac Marovitz 6e524358d4
Rebase + Format 2024-09-18 23:26:09 +02:00
Samuliak 0cda74a780
use unknown texture usage 2024-09-18 23:26:09 +02:00
Samuliak 74cee40e33
don't hardcode render pipeline attachments 2024-09-18 23:26:09 +02:00
Samuliak f9e24fd087
create GetSwizzle helper function 2024-09-18 23:26:08 +02:00
Samuliak 00009666a7
add: textures and samplers as shader arguments & fix: issue with casting 2024-09-18 23:26:08 +02:00
Samuliak 1956a60616
support fragment coord as an input to a shader 2024-09-18 23:26:08 +02:00
Samuliak 9835682c75
support texture views 2024-09-18 23:26:07 +02:00
Isaac Marovitz 451053c3d9
Format 2024-09-18 23:26:07 +02:00
Isaac Marovitz f56b826da9
Rebase + GAL Changes 2024-09-18 23:26:07 +02:00
Isaac Marovitz aa53977e98
Remove TODOs 2024-09-18 23:26:06 +02:00