Isaac Marovitz
d811532a9f
Buffer Descriptor Step Functions
2024-12-23 21:33:07 -06:00
Isaac Marovitz
2e99df371f
Stencil Ref Value
2024-12-23 21:32:56 -06:00
Isaac Marovitz
ac8af32744
Stencil Fixes
2024-12-23 21:32:54 -06:00
Isaac Marovitz
a58568d036
RenderTargetColorMasks
2024-12-23 21:32:52 -06:00
SamoZ256
505f830556
Zero vertex buffer ( #17 )
...
* cast src size to float
* implement zero buffers
2024-12-23 21:32:47 -06:00
Isaac Marovitz
f7941a0a8b
Metal: Advanced Present ( #6 )
...
* Initial DrawTexture support & Advanced Present
* TODO: Get Scissors Working
* Chnage scissor state management
* Rebase problems…
* Rebase fixes again
* Update DrawTexture + Fix Topology
* Fix flipping
* Add clear action support
* Cleanup
2024-12-23 21:32:40 -06:00
SamoZ256
6cc4d46e8c
Clone the state & flip viewport vertically ( #16 )
...
* implement texture get data
* reset all state before blit & clone state
* format
* support blit regions
* implement source region for blit
* replace bottom with top
* account for 0 size
* support image flipping
* revert presentation fixes & y flip
* revert
* flip viewport vertically
* switch face winding
* comment
* use SetBytes for texture clear
* implement missing compute builtins
* change storage and texture buffer alignment
* correct compute builtins
* don't use nullable for textures and samplers
* remove incorrect texture get data implementation
* Cleanup IntPtrs
---------
Co-authored-by: Isaac Marovitz <isaacryu@icloud.com >
2024-12-23 21:32:34 -06:00
SamoZ256
18b852e05d
Fix Scott Pilgrim ( #15 )
...
* check for null vertex functions
* format
* Format
---------
Co-authored-by: Isaac Marovitz <isaacryu@icloud.com >
2024-12-23 21:32:02 -06:00
Isaac Marovitz
881ab59177
Use Stack instead of List
2024-12-23 21:31:57 -06:00
Isaac Marovitz
327c1576f7
Whitespace formatting
2024-12-23 21:31:54 -06:00
Samuliak
9f01cce95f
fix: don't dispose stencil state before using
2024-12-23 21:31:30 -06:00
Samuliak
0abbbdc277
allow null depth stencil render targets
2024-12-23 21:31:28 -06:00
Samuliak
d5437f3dbf
reset viewport before blit
2024-12-23 21:31:24 -06:00
Samuliak
af341f88df
dispose all objects in encoder state manager
2024-12-23 21:30:58 -06:00
Samuliak
1ff81393be
dispose caches
2024-12-23 21:30:55 -06:00
Samuliak
280efb2ed6
set the inline state after restoring state
2024-12-23 21:30:46 -06:00
Samuliak
14607f4471
make states private
2024-12-23 21:30:41 -06:00
Samuliak
305a703d4a
implement save and restore state system
2024-12-23 21:30:22 -06:00
Samuliak
a2c0c11380
revert deferred clears
2024-12-23 21:30:02 -06:00
Isaac Marovitz
bea46ff9ce
Cleanup + Format
2024-12-23 21:29:50 -06:00
Samuliak
c7dc9ba34e
implement depth stencil cache
2024-12-23 21:29:40 -06:00
Isaac Marovitz
11c596a18a
Fix StoreActions & Don’t Clamp Scissor for Now
2024-12-23 21:29:35 -06:00
Isaac Marovitz
7f8d54d6dc
Depth Clear
2024-12-23 21:29:33 -06:00
Isaac Marovitz
90e3899c23
Shitty Clears + Inline Buffer Improvements?
2024-12-23 21:29:24 -06:00
Samuliak
dd5fb8bed9
implement pipeline cache
2024-12-23 21:28:36 -06:00
Isaac Marovitz
96eea9de23
Cleanup
2024-12-23 21:28:31 -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
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
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