22113 Commits

Author SHA1 Message Date
Chinmay Garde
47540e614e WIP on host buffer allocations. 2022-04-27 15:57:33 -07:00
Chinmay Garde
97eee62317 Setup depth stencil state. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ec219c627f Patch depth stencil pixel format. 2022-04-27 15:57:33 -07:00
Chinmay Garde
979456a10b Wire up color attachment descriptors. 2022-04-27 15:57:33 -07:00
Chinmay Garde
865b955371 Cleanup vertex descriptor API. 2022-04-27 15:57:33 -07:00
Chinmay Garde
2364e5990c Dump shader outputs. 2022-04-27 15:57:33 -07:00
Chinmay Garde
9793900968 Setup vertex attributes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
956973b17b Parse member names. 2022-04-27 15:57:33 -07:00
Chinmay Garde
5d923ac4f9 Dump stage outputs. 2022-04-27 15:57:33 -07:00
Chinmay Garde
b5e3c21d70 Parse MTL vertex input formats from reflection info. 2022-04-27 15:57:33 -07:00
Chinmay Garde
2303b9ee5b Minor formatting updates. 2022-04-27 15:57:33 -07:00
Chinmay Garde
9a22408736 Simple types can be conveyed to runtime. 2022-04-27 15:57:33 -07:00
Chinmay Garde
852f25d958 Shader function quality. 2022-04-27 15:57:33 -07:00
Chinmay Garde
799565a26d Move shader function to its own TU 2022-04-27 15:57:33 -07:00
Chinmay Garde
72471e7536 Pipeline descriptor comparators. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e9938a67af Wire up pipeline library resolution. 2022-04-27 15:57:33 -07:00
Chinmay Garde
5d6dd79bf0 Add box shader sample. 2022-04-27 15:57:33 -07:00
Chinmay Garde
8da39c0afb Disambiguate stages. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ee3b16e857 Modularize build rules. 2022-04-27 15:57:33 -07:00
Chinmay Garde
16d26f23da Fix code generation for stage inputs. 2022-04-27 15:57:33 -07:00
Chinmay Garde
7e89c12acc Setup reflection JSON. 2022-04-27 15:57:33 -07:00
Chinmay Garde
f7191cde15 Cleanup reflector. 2022-04-27 15:57:33 -07:00
Chinmay Garde
631cc5cf0e Wire up shader libraries. 2022-04-27 15:57:33 -07:00
Chinmay Garde
73f01575b6 Explicitly specify GLSL version. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ac2dcd68f5 Rename entrypoint to avoid collissions. 2022-04-27 15:57:33 -07:00
Chinmay Garde
87d1a4fa8e Wire up depfile support and Metal shader linking in GN rules. 2022-04-27 15:57:33 -07:00
Chinmay Garde
2afe4d2fbb Add missing stage. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6f4dadc939 Wire up support for include dirs. 2022-04-27 15:57:33 -07:00
Chinmay Garde
815f123c31 Wire up compiler frontend. 2022-04-27 15:57:33 -07:00
Chinmay Garde
40e9772527 Wire up rudimentary reflection. 2022-04-27 15:57:33 -07:00
Chinmay Garde
3457f77a68 Wire up reflection. 2022-04-27 15:57:33 -07:00
Chinmay Garde
96b67c1e11 Implement includer interface. 2022-04-27 15:57:33 -07:00
Chinmay Garde
1256ee3d1c Wire up one-shot conversion of GLSL to MSL. 2022-04-27 15:57:33 -07:00
Chinmay Garde
8ea7e93edc Wire up GLSL to spirv compiler. 2022-04-27 15:57:33 -07:00
Chinmay Garde
981e697f1f Start wiring up impellerc 2022-04-27 15:57:33 -07:00
Chinmay Garde
adb97f773a Stub out pipeline descriptors and builders. 2022-04-27 15:57:33 -07:00
Chinmay Garde
edab9d7ef2 Wire up render loop. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6b6a8d35fd Wire up renderer. 2022-04-27 15:57:33 -07:00
Chinmay Garde
edc53798ff Fix file name casing. 2022-04-27 15:57:33 -07:00
Chinmay Garde
5afc2d547b Patch namespace. 2022-04-27 15:57:33 -07:00
Chinmay Garde
864cc59f52 More cleanups. 2022-04-27 15:57:33 -07:00
Chinmay Garde
946521dd39 More clang-tidy fixes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6ceb957d07 Apply clang-tidy guidelines. 2022-04-27 15:57:33 -07:00
Chinmay Garde
36091e459f Formatting. 2022-04-27 15:57:33 -07:00
Chinmay Garde
bf0197d516 Fix copyright headers. 2022-04-27 15:57:33 -07:00
Chinmay Garde
afc94fa9c4 Wire up asset resolution. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e452fab337 Fix Window sizing. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e8a4173daf Add GLFW reference 2022-04-27 15:57:33 -07:00
Chinmay Garde
2092759b01 Fix runtime shader loading. 2022-04-27 15:57:33 -07:00
Chinmay Garde
8182721179 Wire up metal library generation. 2022-04-27 15:57:33 -07:00