Commit Graph

3755 Commits

Author SHA1 Message Date
Isaac Marovitz
4367c1ea58
Set DepthAttachmentPixelFormat 2024-09-19 19:51:09 +02:00
Isaac Marovitz
ecc923fa26
Set Depth Attachment Texture 2024-09-19 19:51:09 +02:00
Isaac Marovitz
e6b4626bb7
Clamp Viewport ZNear & ZFar 2024-09-19 19:51:08 +02:00
Samuliak
42f63d901d
format 2024-09-19 19:51:08 +02:00
Samuliak
f2a0876fc6
use 0 instead of undef 2024-09-19 19:51:08 +02:00
Samuliak
a7e56fc9ed
fix: pass array index as an additional argument to sample 2024-09-19 19:51:08 +02:00
Samuliak
4cd6074862
don't declare samplers for separate textures 2024-09-19 19:51:08 +02:00
Samuliak
cda64928a2
don't hardcode texture type 2024-09-19 19:51:08 +02:00
Samuliak
ac00ce2dfa
offset storage buffer bindings by 15 2024-09-19 19:51:07 +02:00
Samuliak
a90aa9c105
fix: incorrect abs instruction 2024-09-19 19:51:07 +02:00
Samuliak
2a43323e34
add: vertex and instance id arguments 2024-09-19 19:51:07 +02:00
Samuliak
a368398abd
determine type of buffer by its field types 2024-09-19 19:51:07 +02:00
Isaac Marovitz
75799b6a71
Rebase + Format 2024-09-19 19:51:07 +02:00
Samuliak
0b1b752afc
use unknown texture usage 2024-09-19 19:51:06 +02:00
Samuliak
9caad940dd
don't hardcode render pipeline attachments 2024-09-19 19:51:06 +02:00
Samuliak
8370c9cb4a
create GetSwizzle helper function 2024-09-19 19:51:06 +02:00
Samuliak
39b6cd53ad
add: textures and samplers as shader arguments & fix: issue with casting 2024-09-19 19:51:06 +02:00
Samuliak
e9fd30ead9
support fragment coord as an input to a shader 2024-09-19 19:51:06 +02:00
Samuliak
06f71199e5
support texture views 2024-09-19 19:51:06 +02:00
Isaac Marovitz
932792e1bf
Format 2024-09-19 19:51:05 +02:00
Isaac Marovitz
cb0ded872e
Rebase + GAL Changes 2024-09-19 19:51:05 +02:00
Isaac Marovitz
35ab413e4d
Remove TODOs 2024-09-19 19:51:05 +02:00
Isaac Marovitz
84a3e36447
Fix Scissor/Viewport state & Validation Error 2024-09-19 19:51:05 +02:00
Isaac Marovitz
357d037c58
Require Argument Buffers Tier 2 2024-09-19 19:51:05 +02:00
Isaac Marovitz
52bb6eedc0
Buffer bindings in shader…
Will need to be reworked
2024-09-19 19:51:05 +02:00
Isaac Marovitz
0c9a371afb
Bind Uniform & Storage Buffers 2024-09-19 19:51:04 +02:00
Isaac Marovitz
261e1773e9
Fix buffer access syntax 2024-09-19 19:51:04 +02:00
Isaac Marovitz
5663050ae0
Dispose pipeline before window 2024-09-19 19:51:04 +02:00
Isaac Marovitz
79ec1a9a04
Set scissors & viewports 2024-09-19 19:51:04 +02:00
Isaac Marovitz
1693e44b90
Format 2024-09-19 19:51:04 +02:00
Isaac Marovitz
73ba0bacac
Format 2024-09-19 19:51:03 +02:00
Isaac Marovitz
74bd0f4c32
Fix some crashes 2024-09-19 19:51:03 +02:00
Isaac Marovitz
62525a2891
Fix Cubemap & Array Texture Creation 2024-09-19 19:51:03 +02:00
Isaac Marovitz
28f50a74ec
Properly check for 3D 2024-09-19 19:51:03 +02:00
Isaac Marovitz
0d38e7ac02
Fix swizzle for certain formats 2024-09-19 19:51:03 +02:00
Isaac Marovitz
57067a815d
Blit at the end of the render 2024-09-19 19:51:03 +02:00
Isaac Marovitz
9ecdaac949
Load attachments 2024-09-19 19:51:02 +02:00
Isaac Marovitz
6c8a9a7e5f
Cleanup Shader I/O 2024-09-19 19:51:02 +02:00
Isaac Marovitz
6d9a7aecd9
Fix fragment shader bindings 2024-09-19 19:51:02 +02:00
Isaac Marovitz
22f59859f4
Fix VertexBuffers
Naive non-managed approach
2024-09-19 19:51:02 +02:00
Isaac Marovitz
c29aa96e73
Fix some shader gen problems… 2024-09-19 19:51:02 +02:00
Isaac Marovitz
d4bed276b0
Formatting 2024-09-19 19:51:02 +02:00
Isaac Marovitz
7c5647db39
Make TypeConversion failure an error 2024-09-19 19:51:01 +02:00
Isaac Marovitz
3775dd3bd8
Fix MSL Reinterpret Casts 2024-09-19 19:51:01 +02:00
Isaac Marovitz
308b1117ca
Dont set Vertex Attributes for now 2024-09-19 19:51:01 +02:00
Isaac Marovitz
ad502d2188
Remove capture code 2024-09-19 19:51:01 +02:00
Isaac Marovitz
683fe890c5
Bind Textures & Samplers 2024-09-19 19:51:01 +02:00
Isaac Marovitz
e03fecaeb2
Revise ISampler 2024-09-19 19:51:01 +02:00
Isaac Marovitz
689fdd95b1
Try again 2024-09-19 19:51:00 +02:00
Isaac Marovitz
361e1b0228
Resolve warning 2024-09-19 19:51:00 +02:00