22125 Commits

Author SHA1 Message Date
Chinmay Garde
88cc8570da WIP on buffer management. 2022-04-27 15:57:33 -07:00
Chinmay Garde
d7c12d7638 Constexpr correctness for colors. 2022-04-27 15:57:33 -07:00
Chinmay Garde
51f5e759ee Allow render passes to record commands. 2022-04-27 15:57:33 -07:00
Chinmay Garde
be69b42bf9 Multi-encodable render passes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
f8eab3f6fa Add constexpr decorations to impeller::Rect. 2022-04-27 15:57:33 -07:00
Chinmay Garde
01da845f16 Wire up surface from render pass descriptor. 2022-04-27 15:57:33 -07:00
Chinmay Garde
a8db4feed1 Wire up render pass creation. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ddcc21abdc Start on the entity model. 2022-04-27 15:57:33 -07:00
Chinmay Garde
7a036de8de Finish wiring up render passes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
68e0094f6f Begin wiring up render passes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
60ca2b8fbc Reorganize project structure. 2022-04-27 15:57:33 -07:00
Chinmay Garde
070e73868e Patch buffer views. 2022-04-27 15:57:33 -07:00
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