Commit Graph

  • 9ebf82f184 More cleanup Isaac Marovitz 2024-05-29 16:31:49 +01:00
  • 49e83335d1 Cleanup + Format Isaac Marovitz 2024-05-29 16:24:49 +01:00
  • f00cf8704f Metal: Compute Shaders (#19) Isaac Marovitz 2024-05-29 16:21:59 +01:00
  • 65da0569a3 Handle stride 0 on regular buffers Isaac Marovitz 2024-05-28 02:18:59 -04:00
  • d811532a9f Buffer Descriptor Step Functions Isaac Marovitz 2024-05-28 01:45:59 -04:00
  • a42c66e6d5 Sample LOD Level Isaac Marovitz 2024-05-27 23:41:11 -04:00
  • 8be6b671b8 Fix FragmentOutputColor Type Isaac Marovitz 2024-05-27 22:36:59 -04:00
  • 2e99df371f Stencil Ref Value Isaac Marovitz 2024-05-27 22:00:48 -04:00
  • ac8af32744 Stencil Fixes Isaac Marovitz 2024-05-27 21:46:43 -04:00
  • a58568d036 RenderTargetColorMasks Isaac Marovitz 2024-05-27 21:35:32 -04:00
  • 7ed45d12db Make dotnet format happy Isaac Marovitz 2024-05-27 18:09:29 -04:00
  • 505f830556 Zero vertex buffer (#17) SamoZ256 2024-05-27 22:54:26 +02:00
  • 43ad627d4f Implement Texture CopyTo Isaac Marovitz 2024-05-27 10:38:00 -04:00
  • c5cca8a1a3 Cleanup present Isaac Marovitz 2024-05-27 10:34:16 -04:00
  • f7941a0a8b Metal: Advanced Present (#6) Isaac Marovitz 2024-05-27 09:47:50 -04:00
  • 6cc4d46e8c Clone the state & flip viewport vertically (#16) SamoZ256 2024-05-27 13:58:03 +02:00
  • 18b852e05d Fix Scott Pilgrim (#15) SamoZ256 2024-05-25 19:46:51 +02:00
  • 41e6a04a23 Suppress GC Finalize on StateCache Isaac Marovitz 2024-05-25 12:30:06 -04:00
  • 881ab59177 Use Stack instead of List Isaac Marovitz 2024-05-25 12:21:42 -04:00
  • 327c1576f7 Whitespace formatting Isaac Marovitz 2024-05-25 12:12:58 -04:00
  • 60ece6d9a1 dispose all temporary buffers Samuliak 2024-05-25 15:23:13 +02:00
  • 58b42a1143 dispose temporary metal buffer Samuliak 2024-05-25 14:48:07 +02:00
  • 3be47ae4a9 dispose drawable texture view Samuliak 2024-05-25 14:38:39 +02:00
  • 6ab989ac54 implement texture get data Samuliak 2024-05-25 11:03:45 +02:00
  • 9f01cce95f fix: don't dispose stencil state before using Samuliak 2024-05-25 13:15:30 +02:00
  • 0abbbdc277 allow null depth stencil render targets Samuliak 2024-05-25 09:56:42 +02:00
  • eb7ec713ec reset certain state before doing blit or clear Samuliak 2024-05-25 09:51:56 +02:00
  • d5437f3dbf reset viewport before blit Samuliak 2024-05-25 08:39:45 +02:00
  • 1c4e527ac2 dispose encoder state manager Samuliak 2024-05-25 08:27:28 +02:00
  • af341f88df dispose all objects in encoder state manager Samuliak 2024-05-25 08:17:43 +02:00
  • 1ff81393be dispose caches Samuliak 2024-05-24 20:03:55 +02:00
  • 2cb5265c8e warn about barriers Samuliak 2024-05-24 18:41:36 +02:00
  • 78553f31d9 do memory barriers Samuliak 2024-05-24 18:37:31 +02:00
  • 60084f826e remove useless parameters Samuliak 2024-05-24 17:59:49 +02:00
  • 280efb2ed6 set the inline state after restoring state Samuliak 2024-05-24 16:40:01 +02:00
  • 14607f4471 make states private Samuliak 2024-05-24 15:59:07 +02:00
  • fd4fe01348 fix: incorrect merge stuff Samuliak 2024-05-24 15:52:17 +02:00
  • 8f91b556af don't interrupt render pass before color clear Samuliak 2024-05-24 15:28:16 +02:00
  • 305a703d4a implement save and restore state system Samuliak 2024-05-24 15:09:06 +02:00
  • a2c0c11380 revert deferred clears Samuliak 2024-05-24 14:41:51 +02:00
  • 016df3b050 prepare for deferred clears Samuliak 2024-05-24 14:16:42 +02:00
  • 084b75a398 resolve merge conflicts Samuliak 2024-05-24 15:32:02 +02:00
  • 91aed4d0dd Rebase Isaac Marovitz 2024-05-23 14:47:05 -04:00
  • bea46ff9ce Cleanup + Format Isaac Marovitz 2024-05-23 14:08:34 -04:00
  • 58fb8564a8 Start Proper Dispose Isaac Marovitz 2024-05-23 13:15:23 -04:00
  • 94e077ca27 do texture barrier tiled Samuliak 2024-05-23 18:23:01 +02:00
  • a10b0230c3 do texture barrier Samuliak 2024-05-23 17:49:22 +02:00
  • c7dc9ba34e implement depth stencil cache Samuliak 2024-05-23 15:48:20 +02:00
  • ad4db6b242 Fix typo in SamplerType.TextureBuffer Isaac Marovitz 2024-05-22 22:01:39 -04:00
  • 11c596a18a Fix StoreActions & Don’t Clamp Scissor for Now Isaac Marovitz 2024-05-22 21:32:24 -04:00
  • 7f8d54d6dc Depth Clear Isaac Marovitz 2024-05-22 20:26:54 -04:00
  • 90e3899c23 Shitty Clears + Inline Buffer Improvements? Isaac Marovitz 2024-05-22 17:21:44 -04:00
  • 381f4ec091 FragmentOutputDepth Fixes Isaac Marovitz 2024-05-22 20:27:37 -04:00
  • b76f9105c8 Depth Sampler Fixes Isaac Marovitz 2024-05-22 15:44:00 -04:00
  • 486fd78eba Revert position changes Isaac Marovitz 2024-05-22 15:07:12 -04:00
  • 38385bad30 Nvm it should be in.position Isaac Marovitz 2024-05-22 15:04:44 -04:00
  • 27ece39dbe More shader fixes Isaac Marovitz 2024-05-22 15:02:21 -04:00
  • 7a6c7196c8 fix: incorrect layer count of texture view Samuliak 2024-05-21 16:23:42 +02:00
  • 765ca8e6c0 don't use mask on size query Samuliak 2024-05-20 19:12:17 +02:00
  • d5b98d6187 declare local memory Samuliak 2024-05-20 19:07:27 +02:00
  • 913f25b2a0 support multiple render targets & fix: incorrect texture name Samuliak 2024-05-20 18:38:08 +02:00
  • 5d0ae23a0b put render pipeline cache into a separate file Samuliak 2024-05-20 17:31:24 +02:00
  • dd5fb8bed9 implement pipeline cache Samuliak 2024-05-20 17:28:00 +02:00
  • 2316f30de1 Use return value of BeginRenderPass Isaac Marovitz 2024-05-19 11:07:55 -04:00
  • 96eea9de23 Cleanup Isaac Marovitz 2024-05-19 11:05:50 -04:00
  • 9c5917912b remove outdated comment Samuliak 2024-05-19 17:02:10 +02:00
  • efe575c9b2 Fix table Isaac Marovitz 2024-05-19 10:44:08 -04:00
  • ba4d6815ea Dont hardcode Vertex Format Isaac Marovitz 2024-05-19 10:32:24 -04:00
  • 9b99f55c4f style Samuliak 2024-05-19 16:51:05 +02:00
  • 5a6169b19d bring back inline updates for some state Samuliak 2024-05-19 16:47:43 +02:00
  • f30aa98ce5 fix: don't rebind pipeline unless dirty Samuliak 2024-05-19 13:32:09 +02:00
  • 149141594f don't bind null vertex buffers Samuliak 2024-05-19 13:25:52 +02:00
  • b5f15de64f mark state as dirty Samuliak 2024-05-19 09:10:14 +02:00
  • bc9a26bbf2 add todo notice Samuliak 2024-05-19 08:09:06 +02:00
  • f3d314104f don't end render pass when not neccessary Samuliak 2024-05-19 08:08:12 +02:00
  • 6324569dd2 Remove rebase garbage Isaac Marovitz 2024-05-18 22:29:03 -04:00
  • 2c474050f8 Be smart and use a bitmask not a list Isaac Marovitz 2024-05-18 22:27:18 -04:00
  • 46cc993f9a Cleanup Isaac Marovitz 2024-05-18 22:17:18 -04:00
  • c51c8bdae6 Fix Vertex Attributes in Wonder & Kirby Isaac Marovitz 2024-05-18 22:06:53 -04:00
  • 4f356b4117 Implement SetDepthClamp Isaac Marovitz 2024-05-18 21:29:46 -04:00
  • 15051d6e56 Implement SetBlendState Isaac Marovitz 2024-05-18 21:20:15 -04:00
  • 2587e1ff22 Be consistent with things that lack support Isaac Marovitz 2024-05-18 21:07:05 -04:00
  • 0d5292ff8c Ignore SetDepthMode Isaac Marovitz 2024-05-18 21:02:49 -04:00
  • 401ad1f983 Make Texture Volatile on dispose Isaac Marovitz 2024-05-18 20:47:45 -04:00
  • 3c1ef06151 Format Isaac Marovitz 2024-05-18 20:40:37 -04:00
  • 95af212cfc Fix present Isaac Marovitz 2024-05-18 20:27:27 -04:00
  • 4190abbbf5 Fix Depth/Stencil attachments Isaac Marovitz 2024-05-18 19:59:38 -04:00
  • c7b6e4cf80 Break everything :D Isaac Marovitz 2024-05-18 18:54:55 -04:00
  • 96d884a15b Clamp ScissorRect Isaac Marovitz 2024-05-16 21:06:04 -04:00
  • f79ebd1141 Set DepthAttachmentPixelFormat Isaac Marovitz 2024-05-16 20:54:27 -04:00
  • 7f65ec0b8c Set Depth Attachment Texture Isaac Marovitz 2024-05-16 20:29:37 -04:00
  • 824321c88a Clamp Viewport ZNear & ZFar Isaac Marovitz 2024-05-16 15:59:56 -04:00
  • 91d1bb6c08 format Samuliak 2024-05-16 16:54:54 +02:00
  • 22d3fa068d use 0 instead of undef Samuliak 2024-05-16 16:42:19 +02:00
  • d08218a809 fix: pass array index as an additional argument to sample Samuliak 2024-05-16 16:33:46 +02:00
  • b7414c1e4d don't declare samplers for separate textures Samuliak 2024-05-16 16:24:13 +02:00
  • a66ab905a9 don't hardcode texture type Samuliak 2024-05-16 16:20:52 +02:00
  • 2bef29b200 offset storage buffer bindings by 15 Samuliak 2024-05-16 16:06:35 +02:00
  • 72eb47513c fix: incorrect abs instruction Samuliak 2024-05-16 16:01:57 +02:00
  • 6095f14646 add: vertex and instance id arguments Samuliak 2024-05-16 15:55:03 +02:00