Commit Graph
14 Commits
Author SHA1 Message Date
Dzmitry Malyshau b3c1b1ccdd Don't use log crate in include_spirv 2020-08-31 00:05:45 -04:00
Dzmitry Malyshau 19553fe697 Update wgpu with DepthComparison component and better shader validation 2020-08-28 17:37:33 -04:00
bors[bot]andbootra-dev 96f4dda756 Merge #442
442: replace vertex_format_size macro with VertexFormat size function r=kvark a=bootra-dev

This pull request depends on https://github.com/gfx-rs/wgpu/pull/802

I'm not sure if multiple pull requests is the right way to handle this - let me know if I need to use another workflow.

Co-authored-by: bootra-dev <bootragames@gmail.com>
2020-07-21 20:31:45 +00:00
JMS55 38167f73b8 Fix typo 2020-07-20 17:41:24 -04:00
Andrea Nardi dcd5b4675d Added Static Lifetime to Statically Loaded SPIR-V Modules
Signed-off-by: Andrea Nardi <buongiorno19972@gmail.com>
2020-07-20 19:35:34 +02:00
bootra-dev 80c9441027 replace vertex_format_size macro with VertexFormat size function 2020-07-16 14:25:22 -04:00
Ben Frankel 17b6982f49 Allow trailing comma in vertex_attr_array! 2020-06-28 14:23:23 -07:00
Nathan Kent 3984737743 Change SpirV macro from expr to tt
As suggested in the pull request.
2020-06-18 13:56:48 -04:00
Nathan Kent b0b577c9a3 Allow concat in SpirV macro
The `include_spirv` macros was set to accept literals only.
Unfortunately, this means that other macros, such as `concat` and `env`
aren't accepted, making it unusable with build script-compiled shaders.
This change allows those macros to be used to load the SpirV at the
expense of a potentially less helpful error message as the `literal`
requirement is differed to the `include_bytes` invocation.
2020-06-18 13:47:29 -04:00
Connor Fitzgerald ffde811da2 wgpu-rs documentation pass 2020-06-18 11:10:18 -04:00
Dzmitry Malyshau 65718c1e25 Add include_spirv macro 2020-06-18 01:04:42 -04:00
Hackpoetic a6e81dc703 cargo fmt the code and tweak format rules 2020-04-10 22:56:24 -04:00
Dzmitry Malyshau 9f129baef3 Fix vertex_attr_macro self invocation paths 2020-02-20 13:10:14 -05:00
Diggory Hardy dca51ce676 Add vertex_attr_array macro 2020-02-20 09:32:38 +00:00