Commit graph

7365 commits

Author SHA1 Message Date
Carter Anderson
c208945833 add assigned meshes render target
dynamic compiling w/ entity-specifc macros works!
2020-02-15 22:17:24 -08:00
Carter Anderson
56e5414b63 only update pipelines when macros change. better handle debug print 2020-02-15 19:00:30 -08:00
Carter Anderson
26588d0c41 make pipelines cloneable and draw_target a part of render_graph 2020-02-15 17:08:46 -08:00
Carter Anderson
4de039eb71 Make PipelineDescriptor an Asset that references Handle<Shader> 2020-02-15 16:28:17 -08:00
Carter Anderson
478d475219 more shader assignment work 2020-02-15 13:58:40 -08:00
Carter Anderson
e38d3be0e3 move wgpu shader code out of Shader 2020-02-13 09:17:18 -08:00
Carter Anderson
7759fdefac collect uniform shader_defs in preparation for on-demand shader compiling 2020-02-12 17:58:58 -08:00
Carter Anderson
edf57c0dd3 rename entitybuilder to worldbuilder 2020-02-11 19:39:10 -08:00
Carter Anderson
649e1b113f add world.insert passthrough to entitybuilder 2020-02-11 19:37:48 -08:00
Carter Anderson
cd6ccc45b1 resolve warnings 2020-02-11 19:10:38 -08:00
Carter Anderson
f24a274a2a add renderable to render related queries 2020-02-11 19:09:05 -08:00
Carter Anderson
d58c5e7f5c tweak simple new 2020-02-11 18:54:04 -08:00
Carter Anderson
7cdc2351ba add default to MeshEntity 2020-02-11 18:29:39 -08:00
Carter Anderson
7a1036fa0b add quick profiling doc 2020-02-10 22:13:05 -08:00
Carter Anderson
eedec80e89 add shader def fields / proc macro 2020-02-10 19:26:04 -08:00
Carter Anderson
4a12d16307 add uniform field attribute 2020-02-09 21:41:51 -08:00
Carter Anderson
c1bac8869e move uniforms around 2020-02-09 18:09:54 -08:00
Carter Anderson
5b48de96db Add Uniforms proc macro 2020-02-09 18:04:18 -08:00
Carter Anderson
9078b67677 add texture_new example (not working) 2020-02-09 13:53:43 -08:00
Carter Anderson
a9754cd91e enable incremental release builds and optimized dev builds (unoptimized results in completely useless framerates) 2020-02-09 12:38:17 -08:00
Carter Anderson
a721f3595d rustfmt: use field init shorthand 2020-02-09 11:43:45 -08:00
Carter Anderson
76d5f6057c add rustfmt.toml and set merge_imports to true 2020-02-09 11:42:26 -08:00
Carter Anderson
4f4213be11 update logo 2020-02-08 17:21:11 -08:00
Carter Anderson
5306fa36fa break up shader mod 2020-02-08 17:17:07 -08:00
Carter Anderson
428bb985c4 move mesh draw target to draw target folder 2020-02-08 15:42:07 -08:00
Carter Anderson
ebcb925d6f remove broken import 2020-02-08 15:31:38 -08:00
Carter Anderson
8aaa3581e2 fix roadmap link 2020-02-08 15:12:00 -08:00
Carter Anderson
c604843b54 move uniform resource provider to resource provider folder 2020-02-08 15:07:57 -08:00
Carter Anderson
d89a23edd5 add rendergraph v2 to roadmap 2020-02-08 11:05:30 -08:00
Carter Anderson
8ca465ba98 update roadmap 2020-02-08 11:04:42 -08:00
Carter Anderson
8f1c9e9333 remove super 2020-02-07 23:18:53 -08:00
Carter Anderson
3b0b40a79d cargo fmt 2020-02-07 23:17:51 -08:00
Carter Anderson
f68909ac00 reorganize 2020-02-07 23:15:35 -08:00
Carter Anderson
88ecc9ed43 port ui over to new render graph 2020-02-07 22:42:30 -08:00
Carter Anderson
be1a878943 fix forward flat depth 2020-02-06 08:56:44 -08:00
Carter Anderson
aab7034e99 FrameTexture resource providers 2020-02-05 18:59:09 -08:00
Carter Anderson
8c831845f9 initial texture support 2020-02-05 17:50:56 -08:00
Carter Anderson
6d0661d299 fix lights 2020-02-05 11:02:53 -08:00
Carter Anderson
489580f688 port forward lighting and add struct + array uniforms 2020-02-05 09:59:36 -08:00
Carter Anderson
380e59ee23 begin porting over lighting 2020-02-04 23:14:13 -08:00
Carter Anderson
48e8967acc use staging buffer and add command encoder for resize events 2020-02-04 22:07:02 -08:00
Carter Anderson
c3a388b1b9 add some perf notes 2020-02-04 18:48:42 -08:00
Carter Anderson
b32c80ceba add todo 2020-02-04 09:41:05 -08:00
Carter Anderson
dff18f78db slightly optimize UniformResourceProvider 2020-02-04 09:39:23 -08:00
Carter Anderson
14efda15bf remember! 2020-02-04 00:27:34 -08:00
Carter Anderson
7c2eb63a47 improve performance dynamic uniforms 2020-02-04 00:06:17 -08:00
Carter Anderson
c4b10ea4f7 Continue moving uniform buffers to ResourceProviders 2020-02-03 22:13:13 -08:00
Carter Anderson
45dbe90d85 simple legacy comparison example 2020-01-29 12:49:32 -08:00
Carter Anderson
cd1fb92a7a cache bind group hashes 2020-01-28 01:53:28 -08:00
Carter Anderson
599d30d861 remove unused indices 2020-01-28 01:08:57 -08:00