Commit graph

3523 commits

Author SHA1 Message Date
Isaac Marovitz
673ffa97a1 Format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
245fb4811e Fix present 2024-06-20 17:11:38 +01:00
Isaac Marovitz
d786020778 Fix Depth/Stencil attachments 2024-06-20 17:11:38 +01:00
Isaac Marovitz
e6fd4a78d1 Break everything :D 2024-06-20 17:11:38 +01:00
Isaac Marovitz
a24450c088 Clamp ScissorRect 2024-06-20 17:11:38 +01:00
Isaac Marovitz
2b9c80e492 Set DepthAttachmentPixelFormat 2024-06-20 17:11:38 +01:00
Isaac Marovitz
ff2c4fc305 Set Depth Attachment Texture 2024-06-20 17:11:38 +01:00
Isaac Marovitz
a9a6676be6 Clamp Viewport ZNear & ZFar 2024-06-20 17:11:38 +01:00
Samuliak
85966969dc format 2024-06-20 17:11:38 +01:00
Samuliak
4f43cf2c32 use 0 instead of undef 2024-06-20 17:11:38 +01:00
Samuliak
f9f74cc35b fix: pass array index as an additional argument to sample 2024-06-20 17:11:38 +01:00
Samuliak
cf9b0843e7 don't declare samplers for separate textures 2024-06-20 17:11:38 +01:00
Samuliak
ce5c15655b don't hardcode texture type 2024-06-20 17:11:38 +01:00
Samuliak
29fc5cf5b6 offset storage buffer bindings by 15 2024-06-20 17:11:38 +01:00
Samuliak
741957aad7 fix: incorrect abs instruction 2024-06-20 17:11:38 +01:00
Samuliak
eefcabf561 add: vertex and instance id arguments 2024-06-20 17:11:38 +01:00
Samuliak
cf98d73afd determine type of buffer by its field types 2024-06-20 17:11:38 +01:00
Isaac Marovitz
6fecc38793 Rebase + Format 2024-06-20 17:11:38 +01:00
Samuliak
4726333299 use unknown texture usage 2024-06-20 17:11:38 +01:00
Samuliak
3336425872 don't hardcode render pipeline attachments 2024-06-20 17:11:38 +01:00
Samuliak
029f6f0acb create GetSwizzle helper function 2024-06-20 17:11:38 +01:00
Samuliak
3d49be8dd2 add: textures and samplers as shader arguments & fix: issue with casting 2024-06-20 17:11:38 +01:00
Samuliak
370123aaf1 support fragment coord as an input to a shader 2024-06-20 17:11:38 +01:00
Samuliak
680ef37184 support texture views 2024-06-20 17:11:38 +01:00
Isaac Marovitz
309a008372 Format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
5e44d0db6b Rebase + GAL Changes 2024-06-20 17:11:38 +01:00
Isaac Marovitz
26abba5e86 Remove TODOs 2024-06-20 17:11:38 +01:00
Isaac Marovitz
a435669fd7 Fix Scissor/Viewport state & Validation Error 2024-06-20 17:11:38 +01:00
Isaac Marovitz
925adc9cf7 Require Argument Buffers Tier 2 2024-06-20 17:11:38 +01:00
Isaac Marovitz
07a8dc14d1 Buffer bindings in shader…
Will need to be reworked
2024-06-20 17:11:38 +01:00
Isaac Marovitz
e9e4d6839e Bind Uniform & Storage Buffers 2024-06-20 17:11:38 +01:00
Isaac Marovitz
7b485c6272 Fix buffer access syntax 2024-06-20 17:11:38 +01:00
Isaac Marovitz
ee322a2b54 Dispose pipeline before window 2024-06-20 17:11:38 +01:00
Isaac Marovitz
1f4fa46fee Set scissors & viewports 2024-06-20 17:11:38 +01:00
Isaac Marovitz
bf7541fb98 Format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
3a6ac215c7 Format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
e65b798d40 Fix some crashes 2024-06-20 17:11:38 +01:00
Isaac Marovitz
57ffe0ceb6 Fix Cubemap & Array Texture Creation 2024-06-20 17:11:38 +01:00
Isaac Marovitz
db04d5944d Properly check for 3D 2024-06-20 17:11:38 +01:00
Isaac Marovitz
de68e8871f Fix swizzle for certain formats 2024-06-20 17:11:38 +01:00
Isaac Marovitz
b2f3efabb8 Blit at the end of the render 2024-06-20 17:11:38 +01:00
Isaac Marovitz
81a92a9147 Load attachments 2024-06-20 17:11:38 +01:00
Isaac Marovitz
c0499b697d Cleanup Shader I/O 2024-06-20 17:11:38 +01:00
Isaac Marovitz
2ae11b180d Fix fragment shader bindings 2024-06-20 17:11:38 +01:00
Isaac Marovitz
fbfbde2ef4 Fix VertexBuffers
Naive non-managed approach
2024-06-20 17:11:38 +01:00
Isaac Marovitz
20f51a3c79 Fix some shader gen problems… 2024-06-20 17:11:38 +01:00
Isaac Marovitz
cb325973d7 Formatting 2024-06-20 17:11:38 +01:00
Isaac Marovitz
d67d446af0 Make TypeConversion failure an error 2024-06-20 17:11:38 +01:00
Isaac Marovitz
5d6f74f679 Fix MSL Reinterpret Casts 2024-06-20 17:11:38 +01:00
Isaac Marovitz
befbcce1f6 Dont set Vertex Attributes for now 2024-06-20 17:11:38 +01:00