Commit Graph

  • 4192cb340a Add render to texture pass. Chinmay Garde 2021-07-18 14:16:56 -07:00
  • d9f645ba50 Add pass bindings cache. Frame insights are empty. Chinmay Garde 2021-07-16 14:42:30 -07:00
  • 66f9afe038 Add stress test. Chinmay Garde 2021-07-16 13:26:28 -07:00
  • f3a1f81b6c Add test to check rendering to multiple primitives. Chinmay Garde 2021-07-16 12:08:44 -07:00
  • 1b830f9c82 Wire up texture usage. Chinmay Garde 2021-07-15 12:31:31 -07:00
  • 15c9aaeb13 Port Geometry tests. Chinmay Garde 2021-07-12 15:10:56 -07:00
  • c6d8bc3c8d Zero initialize command primitive type Chinmay Garde 2021-07-11 18:06:28 -07:00
  • ef4981b4d5 Generate code for simple named binders. Chinmay Garde 2021-07-11 17:49:59 -07:00
  • 593080dd03 Fix spelling mistake. Chinmay Garde 2021-07-10 17:59:54 -07:00
  • 8926870817 Start working on the bind prototypes. Chinmay Garde 2021-07-10 17:59:13 -07:00
  • 0bcd04b68f Wire up window position in the playground. Chinmay Garde 2021-07-10 17:07:29 -07:00
  • 8e9a9d64e8 Fix struct alignment for uniform buffers. Chinmay Garde 2021-07-09 16:56:54 -07:00
  • 6e94bd970e Make sure texture bindings are correctly propagated. Chinmay Garde 2021-07-09 15:10:57 -07:00
  • 72a935cf3d Perform software conversion for unsupported pixel formats. Chinmay Garde 2021-07-08 18:44:44 -07:00
  • 16699789ca Update enum name. Chinmay Garde 2021-07-08 17:53:42 -07:00
  • 8513b51bf1 Update image class names. Chinmay Garde 2021-07-08 17:49:15 -07:00
  • e9f5771fcf Split allocation into its base file. Chinmay Garde 2021-07-08 17:42:36 -07:00
  • 62e450025d Add missing dependency reference to compositor. Chinmay Garde 2021-07-08 16:22:38 -07:00
  • 6684140013 Add support for more pixel formats. Chinmay Garde 2021-07-06 17:18:20 -07:00
  • 0f6b0b86d8 Wire up texture sampling in unit-tests. Chinmay Garde 2021-07-06 17:05:06 -07:00
  • 9792f9203d Geometry utils for unsigned types. Chinmay Garde 2021-07-06 16:44:53 -07:00
  • 5110652812 WIP on replacing texture contents. Chinmay Garde 2021-07-06 16:16:30 -07:00
  • cc57340c5e Create textures from buffers. Chinmay Garde 2021-07-05 16:24:18 -07:00
  • a8f9184ffb Add unit-test target stubs. Chinmay Garde 2021-07-05 15:05:01 -07:00
  • 98ba1675d3 Add support for memory render targets. Chinmay Garde 2021-07-05 15:00:22 -07:00
  • ec3d9f6060 Wire up texture creation from buffers. Chinmay Garde 2021-07-05 14:37:11 -07:00
  • ffe1fc656e Minor: Better playground title. Chinmay Garde 2021-07-03 15:46:04 -07:00
  • f9eaadd207 Minor QOL improvements in the playground. Chinmay Garde 2021-07-03 15:37:44 -07:00
  • 727acd40ff Fully wire up the box primitive in the playground. Chinmay Garde 2021-07-03 15:29:16 -07:00
  • cf598d57d7 Use the pipeline builder for the box primitive. Chinmay Garde 2021-07-03 01:14:59 -07:00
  • 61dad3b194 A pipeline builder utility to create pipeline state objects from reflected shader information. Chinmay Garde 2021-07-03 00:57:56 -07:00
  • d828e0b1db Update render pass default. Chinmay Garde 2021-07-03 00:07:56 -07:00
  • d04587c735 Key callbacks to quit from a playground. Chinmay Garde 2021-07-02 16:00:21 -07:00
  • f08b91396d Wire up playground WSI. Chinmay Garde 2021-07-02 15:47:09 -07:00
  • c3a2afd16d Cleanup test targets. Chinmay Garde 2021-07-01 11:55:24 -07:00
  • 524ec504bb Note the descriptor set and binding in IO slot. Chinmay Garde 2021-07-01 11:32:00 -07:00
  • 3173b0d711 Cleanup code-gen template to avoid empty comments. Chinmay Garde 2021-06-30 13:49:43 -07:00
  • 13c5f46edc Generate reflection info for samplers and images. Chinmay Garde 2021-06-30 12:39:44 -07:00
  • f86c10efca Wire up samplers. Chinmay Garde 2021-06-29 17:27:59 -07:00
  • 135433a0d1 Better labeling in vertex buffer builder. Chinmay Garde 2021-06-29 14:55:22 -07:00
  • 167150a45f Make device resident vertex buffers easier to use. Chinmay Garde 2021-06-29 14:02:06 -07:00
  • 703a269481 Make vertex buffer builders templated so they can work with different per vertex types. Chinmay Garde 2021-06-27 15:45:25 -07:00
  • 59f9d7fb6d Generate struct for per vertex data. Chinmay Garde 2021-06-27 15:17:36 -07:00
  • b5ebf6805a Reason about conventions when dealing with NDC. Chinmay Garde 2021-06-23 16:21:43 -07:00
  • 012eb34307 Work on matrix utils. Chinmay Garde 2021-06-23 15:01:38 -07:00
  • e79a7fff79 Shader uniform slots get their own glue type. Chinmay Garde 2021-06-22 17:10:12 -07:00
  • 5814885863 Reserve a slot for vertex buffer bindings. Chinmay Garde 2021-06-22 16:45:11 -07:00
  • 943bf33bfd Set stencil and depth defaults. Chinmay Garde 2021-06-22 14:16:30 -07:00
  • 507037d790 Add default values for blending. Chinmay Garde 2021-06-22 14:00:01 -07:00
  • 8fb7637115 Better names for device objects. Chinmay Garde 2021-06-22 13:18:37 -07:00
  • e968f9a9ee Add support for primitive types. Chinmay Garde 2021-06-22 12:43:14 -07:00
  • 27a7f7e831 Debug and fix buffer management. Chinmay Garde 2021-06-21 15:01:40 -07:00
  • b36aba2dbb Fix uniform alignment on a per platform basis. Chinmay Garde 2021-06-21 13:25:08 -07:00
  • fe94b51880 Add FIXME to address removing debug information from generated shaders. Chinmay Garde 2021-06-20 03:59:46 -07:00
  • 88fed81b83 Embed shader and driver sources in compiled Metal AIR files. Chinmay Garde 2021-06-20 03:54:10 -07:00
  • e688849721 Name device buffers. Chinmay Garde 2021-06-20 03:32:31 -07:00
  • d4377191ed Add debug markers to render passes. Chinmay Garde 2021-06-20 03:19:22 -07:00
  • c23d48d7a5 Wire up vertex buffers. Chinmay Garde 2021-06-19 17:00:33 -07:00
  • ca5b3ac286 Minor updates to pass return values. Chinmay Garde 2021-06-18 14:47:34 -07:00
  • 63e3764ddf Add support for emplace with struct alignments. Chinmay Garde 2021-06-18 14:40:07 -07:00
  • 7d4462ad1a Tests for host buffers. Chinmay Garde 2021-06-18 14:00:37 -07:00
  • 37c2842964 Reflect all known struct types. Chinmay Garde 2021-06-16 14:15:16 -07:00
  • 9800892ac1 Add some sanity checks to generated bindings code. Chinmay Garde 2021-06-15 13:44:56 -07:00
  • da597d0321 Remove stringification in impeller/geometry. Chinmay Garde 2021-06-15 13:29:07 -07:00
  • 2ed5f9fec6 Switch scalar type to float. Chinmay Garde 2021-06-15 13:23:04 -07:00
  • 7b2346c035 Begin wiring up struct definitions. Chinmay Garde 2021-06-14 12:51:38 -07:00
  • 54ddf4a05d Start dumping struct offset information. Chinmay Garde 2021-06-13 17:30:21 -07:00
  • 89c0e06416 Cycle over all struct definitions. Chinmay Garde 2021-06-12 16:05:20 -07:00
  • 27eaa2af6e Swap JSON handling in code generator. Chinmay Garde 2021-06-11 16:52:39 -07:00
  • 4b3190494a Refactor reflector. Chinmay Garde 2021-06-11 16:03:59 -07:00
  • 75eff71fe3 Prep for swapping JSON parser. Chinmay Garde 2021-06-11 15:29:29 -07:00
  • 58c4d7ea73 Generate uniform IO slot. Chinmay Garde 2021-06-11 14:21:17 -07:00
  • 36373c0e04 Pipeline state objects pass validation. Chinmay Garde 2021-06-09 15:50:50 -07:00
  • 695c92c36b Cleanup buffer management wire up transients allocator. Chinmay Garde 2021-06-07 17:37:18 -07:00
  • 88cc8570da WIP on buffer management. Chinmay Garde 2021-06-07 15:05:42 -07:00
  • d7c12d7638 Constexpr correctness for colors. Chinmay Garde 2021-06-07 12:36:01 -07:00
  • 51f5e759ee Allow render passes to record commands. Chinmay Garde 2021-06-07 12:30:14 -07:00
  • be69b42bf9 Multi-encodable render passes. Chinmay Garde 2021-06-06 16:29:48 -07:00
  • f8eab3f6fa Add constexpr decorations to impeller::Rect. Chinmay Garde 2021-06-06 15:36:45 -07:00
  • 01da845f16 Wire up surface from render pass descriptor. Chinmay Garde 2021-06-06 15:34:52 -07:00
  • a8db4feed1 Wire up render pass creation. Chinmay Garde 2021-06-06 13:44:08 -07:00
  • ddcc21abdc Start on the entity model. Chinmay Garde 2021-06-04 16:27:02 -07:00
  • 7a036de8de Finish wiring up render passes. Chinmay Garde 2021-06-03 12:51:52 -07:00
  • 68e0094f6f Begin wiring up render passes. Chinmay Garde 2021-06-02 15:18:44 -07:00
  • 60ca2b8fbc Reorganize project structure. Chinmay Garde 2021-06-01 14:53:18 -07:00
  • 070e73868e Patch buffer views. Chinmay Garde 2021-06-01 14:05:06 -07:00
  • 47540e614e WIP on host buffer allocations. Chinmay Garde 2021-05-28 15:23:35 -07:00
  • 97eee62317 Setup depth stencil state. Chinmay Garde 2021-05-26 19:05:19 -07:00
  • ec219c627f Patch depth stencil pixel format. Chinmay Garde 2021-05-26 12:40:55 -07:00
  • 979456a10b Wire up color attachment descriptors. Chinmay Garde 2021-05-26 12:19:09 -07:00
  • 865b955371 Cleanup vertex descriptor API. Chinmay Garde 2021-05-25 14:51:27 -07:00
  • 2364e5990c Dump shader outputs. Chinmay Garde 2021-05-25 13:09:24 -07:00
  • 9793900968 Setup vertex attributes. Chinmay Garde 2021-05-24 21:36:42 -07:00
  • 956973b17b Parse member names. Chinmay Garde 2021-05-24 02:39:52 -07:00
  • 5d923ac4f9 Dump stage outputs. Chinmay Garde 2021-05-24 00:22:31 -07:00
  • b5e3c21d70 Parse MTL vertex input formats from reflection info. Chinmay Garde 2021-05-23 18:26:26 -07:00
  • 2303b9ee5b Minor formatting updates. Chinmay Garde 2021-05-23 00:34:29 -07:00
  • 9a22408736 Simple types can be conveyed to runtime. Chinmay Garde 2021-05-23 00:17:05 -07:00
  • 852f25d958 Shader function quality. Chinmay Garde 2021-05-22 18:29:45 -07:00
  • 799565a26d Move shader function to its own TU Chinmay Garde 2021-05-22 18:01:55 -07:00