Isaac Marovitz
a58568d036
RenderTargetColorMasks
2024-12-23 21:32:52 -06:00
Isaac Marovitz
43ad627d4f
Implement Texture CopyTo
2024-12-23 21:32:45 -06:00
Isaac Marovitz
c5cca8a1a3
Cleanup present
2024-12-23 21:32:43 -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
Isaac Marovitz
327c1576f7
Whitespace formatting
2024-12-23 21:31:54 -06:00
Samuliak
3be47ae4a9
dispose drawable texture view
2024-12-23 21:31:41 -06:00
Samuliak
1c4e527ac2
dispose encoder state manager
2024-12-23 21:31:01 -06:00
Samuliak
2cb5265c8e
warn about barriers
2024-12-23 21:30:53 -06:00
Samuliak
78553f31d9
do memory barriers
2024-12-23 21:30:50 -06:00
Samuliak
60084f826e
remove useless parameters
2024-12-23 21:30:48 -06:00
Samuliak
fd4fe01348
fix: incorrect merge stuff
2024-12-23 21:30:39 -06:00
Samuliak
8f91b556af
don't interrupt render pass before color clear
2024-12-23 21:30:29 -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
Samuliak
016df3b050
prepare for deferred clears
2024-12-23 21:29:58 -06:00
Samuliak
084b75a398
resolve merge conflicts
2024-12-23 21:29:56 -06:00
Isaac Marovitz
bea46ff9ce
Cleanup + Format
2024-12-23 21:29:50 -06:00
Samuliak
94e077ca27
do texture barrier tiled
2024-12-23 21:29:44 -06:00
Samuliak
a10b0230c3
do texture barrier
2024-12-23 21:29:42 -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
Isaac Marovitz
2316f30de1
Use return value of BeginRenderPass
2024-12-23 21:28:33 -06:00
Samuliak
f3d314104f
don't end render pass when not neccessary
2024-12-23 21:28:01 -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
95af212cfc
Fix present
2024-12-23 21:26:46 -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
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
2bef29b200
offset storage buffer bindings by 15
2024-12-23 21:24:35 -06:00
Samuliak
d66c39b64b
don't hardcode render pipeline attachments
2024-12-23 21:23:42 -06:00
Isaac Marovitz
ba05ed9552
Format
2024-12-23 21:23:14 -06:00
Isaac Marovitz
b85721b738
Rebase + GAL Changes
2024-12-23 21:23:06 -06:00
Isaac Marovitz
9d7164a329
Remove TODOs
2024-12-23 21:21:51 -06:00
Isaac Marovitz
2f70337dca
Fix Scissor/Viewport state & Validation Error
2024-12-23 21:21:47 -06:00
Isaac Marovitz
44bd12104b
Bind Uniform & Storage Buffers
2024-12-23 21:21:31 -06:00
Isaac Marovitz
6a67822b3b
Set scissors & viewports
2024-12-23 21:19:26 -06:00
Isaac Marovitz
36fe41bffd
Format
2024-12-23 21:19:19 -06:00
Isaac Marovitz
e758e531c5
Fix some crashes
2024-12-23 21:19:16 -06:00
Isaac Marovitz
44f4d41cf8
Blit at the end of the render
2024-12-23 21:17:25 -06:00
Isaac Marovitz
b4f468c653
Load attachments
2024-12-23 21:17:21 -06:00
Isaac Marovitz
fc7f09624c
Fix VertexBuffers
...
Naive non-managed approach
2024-12-23 21:16:57 -06:00
Isaac Marovitz
dc4305f1cf
Formatting
2024-12-23 21:16:48 -06:00
Isaac Marovitz
89d1caf30f
Dont set Vertex Attributes for now
2024-12-23 21:16:35 -06:00
Isaac Marovitz
de7b3e7dac
Remove capture code
2024-12-23 21:16:31 -06:00
Isaac Marovitz
94e15aa662
Bind Textures & Samplers
2024-12-23 21:16:27 -06:00