Isaac Marovitz
746c897206
Handle Array Format SetData
2024-12-23 21:34:48 -06:00
Isaac Marovitz
49e83335d1
Cleanup + Format
2024-12-23 21:33:14 -06:00
Isaac Marovitz
f00cf8704f
Metal: Compute Shaders ( #19 )
...
* check for too bix texture bindings
* implement lod query
* print shader stage name
* always have fragment input
* resolve merge conflicts
* fix: lod query
* fix: casting texture coords
* support non-array memories
* use structure types for buffers
* implement compute pipeline cache
* compute dispatch
* improve error message
* rebind compute state
* bind compute textures
* pass local size as an argument to dispatch
* implement texture buffers
* hack: change vertex index to vertex id
* pass support buffer as an argument to every function
* return at the end of function
* fix: certain missing compute bindings
* implement texture base
* improve texture binding system
* remove useless exception
* move texture handle to texture base
* fix: segfault when using disposed textures
---------
Co-authored-by: Samuliak <samuliak77@gmail.com >
Co-authored-by: SamoZ256 <96914946+SamoZ256@users.noreply.github.com >
2024-12-23 21:33:12 -06:00
Isaac Marovitz
43ad627d4f
Implement Texture CopyTo
2024-12-23 21:32:45 -06:00
Samuliak
60ece6d9a1
dispose all temporary buffers
2024-12-23 21:31:52 -06:00
Samuliak
58b42a1143
dispose temporary metal buffer
2024-12-23 21:31:47 -06:00
Samuliak
6ab989ac54
implement texture get data
2024-12-23 21:31:36 -06:00
Isaac Marovitz
58fb8564a8
Start Proper Dispose
2024-12-23 21:29:47 -06:00
Samuliak
7a6c7196c8
fix: incorrect layer count of texture view
2024-12-23 21:28:59 -06:00
Isaac Marovitz
401ad1f983
Make Texture Volatile on dispose
2024-12-23 21:26:57 -06:00
Isaac Marovitz
c7b6e4cf80
Break everything :D
2024-12-23 21:25:24 -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
de23abcf90
create GetSwizzle helper function
2024-12-23 21:23:32 -06:00
Samuliak
8a0dd491b9
support texture views
2024-12-23 21:23:20 -06:00
Isaac Marovitz
b85721b738
Rebase + GAL Changes
2024-12-23 21:23:06 -06:00
Isaac Marovitz
65b7af6308
Format
2024-12-23 21:19:22 -06:00
Isaac Marovitz
36fe41bffd
Format
2024-12-23 21:19:19 -06:00
Isaac Marovitz
efa9d56a56
Fix Cubemap & Array Texture Creation
2024-12-23 21:19:08 -06:00
Isaac Marovitz
b95e1d288b
Properly check for 3D
2024-12-23 21:17:32 -06:00
Isaac Marovitz
48aba086e1
Fix swizzle for certain formats
2024-12-23 21:17:28 -06:00
Isaac Marovitz
dc4305f1cf
Formatting
2024-12-23 21:16:48 -06:00
Isaac Marovitz
b157a8e549
Revise ISampler
2024-12-23 21:16:20 -06:00
Isaac Marovitz
c0da3d68ca
Formatting
2024-12-23 21:16:07 -06:00
Isaac Marovitz
a3da70edc2
Boot TOTK
2024-12-23 21:05:28 -06:00
Isaac Marovitz
94e699eeba
Boot Sonic Mania
2024-12-23 21:01:19 -06:00
Isaac Marovitz
c1ef270b9d
Cleanup encoder getting + Fix capture overflow
2024-12-23 20:58:32 -06:00
Isaac Marovitz
7441d94f10
Formatting
2024-12-23 20:57:31 -06:00
Isaac Marovitz
179482e9cb
Check if packed depth is supported
2024-12-23 20:53:19 -06:00
Isaac Marovitz
6a115becef
Seizure my beloved is working
2024-12-23 20:52:32 -06:00
Isaac Marovitz
ed445e001a
SetData
2024-12-23 20:52:22 -06:00
Isaac Marovitz
93f31bd08a
Look ma no crash
2024-12-23 20:44:22 -06:00
Isaac Marovitz
a60ecea4c3
Whitespace
2024-12-23 20:44:19 -06:00
Isaac Marovitz
cc3c7901b6
Forgot depth
2024-12-23 20:43:37 -06:00
Isaac Marovitz
15ad03bc04
Texture usage
2024-12-23 20:43:32 -06:00
Isaac Marovitz
1e835aa56f
CopyTo Buffer
2024-12-23 20:42:50 -06:00
Evan Husted
93e5ff0137
up to date with 08126b26b1
2024-12-23 20:41:07 -06:00
Evan Husted
cbad43b003
some initial metal commits cherry-picked
2024-12-23 20:35:49 -06:00