17148 Commits

Author SHA1 Message Date
Chinmay Garde
fe94b51880 Add FIXME to address removing debug information from generated shaders. 2022-04-27 15:57:33 -07:00
Chinmay Garde
88fed81b83 Embed shader and driver sources in compiled Metal AIR files. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e688849721 Name device buffers. 2022-04-27 15:57:33 -07:00
Chinmay Garde
d4377191ed Add debug markers to render passes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
c23d48d7a5 Wire up vertex buffers. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ca5b3ac286 Minor updates to pass return values. 2022-04-27 15:57:33 -07:00
Chinmay Garde
63e3764ddf Add support for emplace with struct alignments. 2022-04-27 15:57:33 -07:00
Chinmay Garde
7d4462ad1a Tests for host buffers. 2022-04-27 15:57:33 -07:00
Chinmay Garde
37c2842964 Reflect all known struct types. 2022-04-27 15:57:33 -07:00
Chinmay Garde
9800892ac1 Add some sanity checks to generated bindings code. 2022-04-27 15:57:33 -07:00
Chinmay Garde
da597d0321 Remove stringification in impeller/geometry. 2022-04-27 15:57:33 -07:00
Chinmay Garde
2ed5f9fec6 Switch scalar type to float. 2022-04-27 15:57:33 -07:00
Chinmay Garde
7b2346c035 Begin wiring up struct definitions. 2022-04-27 15:57:33 -07:00
Chinmay Garde
54ddf4a05d Start dumping struct offset information. 2022-04-27 15:57:33 -07:00
Chinmay Garde
89c0e06416 Cycle over all struct definitions. 2022-04-27 15:57:33 -07:00
Chinmay Garde
27eaa2af6e Swap JSON handling in code generator. 2022-04-27 15:57:33 -07:00
Chinmay Garde
4b3190494a Refactor reflector. 2022-04-27 15:57:33 -07:00
Chinmay Garde
75eff71fe3 Prep for swapping JSON parser. 2022-04-27 15:57:33 -07:00
Chinmay Garde
58c4d7ea73 Generate uniform IO slot. 2022-04-27 15:57:33 -07:00
Chinmay Garde
36373c0e04 Pipeline state objects pass validation. 2022-04-27 15:57:33 -07:00
Chinmay Garde
695c92c36b Cleanup buffer management wire up transients allocator. 2022-04-27 15:57:33 -07:00
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