Dzmitry Malyshau
5578222685
Switch ubuntu CI to 20.04
2021-06-17 02:41:44 -04:00
Dzmitry Malyshau
0b506afc60
hal/vk: use non-coherent-atom-size
2021-06-16 23:52:04 -04:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
54d7391df0
Minor tweaks to make CI happy
2021-06-16 20:28:45 -04:00
Dzmitry Malyshau
fb662dfbec
hal/vk: polishing to run halmark with no validation issues
2021-06-16 17:15:34 -04:00
Dzmitry Malyshau
c53addac8a
hal/vk: draws and dispatches. Refactor query set descriptor
2021-06-16 14:17:37 -04:00
Gordon-F
96b37aff1f
[hlsl-out] Reduce heap allocation
2021-06-16 14:03:50 -04:00
Gordon-F
1b468edaa4
Makefile. Move dxc params into a variable
2021-06-16 14:03:50 -04:00
Igor Shaposhnik
b1ce49a217
Remove features from lazy CI task
2021-06-16 13:59:23 -04:00
Jim Blandy
fd83816945
Add . to the workspace's default members. Test with no features.
...
Naga is now a workspace with `naga` and `cli` as its two members. The default
package for cargo commands is `cli`, so that `cargo run` will just run the CLI.
However, this has a few unexpected consequences:
- Now `cargo test` will just try to run `cli`'s tests, of which there are none.
Adding `"."` to the `default-members` list in the workspace's `Cargo.toml`
seems to fix this, without breaking `cargo run`.
- Even with `"."` added to `default-members`, `cargo test` will build `naga` by
default with the features requested for it in `cli/Cargo.toml`: all the front
and back ends, but no `serialize` or `deserialize`. This means that our CI job
meant to verify no-feature builds isn't doing that job any more. We need to
pass `--package naga` to `cargo test` to make it test naga directly.
2021-06-16 13:53:00 -04:00
Dzmitry Malyshau
1952ecb99c
hal/vk: enable vulkan portability support on macos
2021-06-16 11:42:37 -04:00
Dzmitry Malyshau
67dfdb9193
hal/vk: debug markers, bind groups, viewports
2021-06-16 02:05:34 -04:00
Dzmitry Malyshau
bc6bb0c3df
hal/vk: render passes and queries
2021-06-16 01:26:14 -04:00
Gordon-F
822c68067c
Remove all features from README
2021-06-15 21:08:05 -04:00
Gordon-F
92a11d0978
[hlsl-out] More improvements. Enable quad snapshot testing
2021-06-15 21:08:05 -04:00
Gordon-F
7430a43c36
[wgsl-out] Write constant names with namer
2021-06-15 21:08:05 -04:00
Gordon-F
d1f9575ed1
[glsl-out] Write space after if keyword
2021-06-15 21:08:05 -04:00
Dzmitry Malyshau
6f655e0b14
hal/vk: barriers and copies
2021-06-15 15:58:12 -04:00
Dzmitry Malyshau
a260cff0f0
hal/vk: queue operations
2021-06-15 11:38:07 -04:00
Dzmitry Malyshau
668fedd1c0
hal: rename aux to util
2021-06-15 01:33:19 -04:00
Dzmitry Malyshau
00de15990e
hal/vk: pipeline creation
2021-06-15 01:24:25 -04:00
bors[bot] and Dzmitry Malyshau
19206064dc
Merge #1493
...
1493: Update default storage limits r=kvark a=kvark
**Connections**
Matches https://github.com/gpuweb/gpuweb/pull/1802
**Description**
**Testing**
Untested
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-06-14 22:18:52 +00:00
Dzmitry Malyshau
78d21beb58
Update default storage limits
2021-06-14 18:18:05 -04:00
Dzmitry Malyshau
9d85602349
hal: re-architect command encoding and pooling
2021-06-14 13:30:28 -04:00
Jim Blandy
976ae3a9ff
Makefile: Make validate-wgsl target use new 'cli' sub-package.
2021-06-14 13:15:55 -04:00
Dzmitry Malyshau
d8979cad4a
hal/vk: command pools, clippy warnings
2021-06-14 10:26:40 -04:00
Dzmitry Malyshau
c2bb2d5dfc
Experimental command pool API
2021-06-14 01:58:09 -04:00
Igor Shaposhnik
343f786492
Fix testing infrastructure
2021-06-13 11:25:23 -04:00
Gordon-F
54d7d7d2a3
Improve hlsl-out
2021-06-13 11:15:42 -04:00
Evgeny Proydakov
753e9608d3
Fixed compile-time error in spv fuzzer test. ( #967 )
...
* Fixed compile-time error in spv fuzzer test.
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> fuzz_targets/spv_parser.rs:7:19
|
7 | let _result = Parser::new(data.into_iter()).parse();
| ^^^^^^^^^^^ ---------------- supplied 1 argument
| |
| expected 2 arguments
|
note: associated function defined here
--> /Users/evgeny.proydakov/repository/naga/src/front/spv/mod.rs:411:12
|
411 | pub fn new(data: I, options: &Options) -> Self {
| ^^^
error: aborting due to previous error
* Code review. Group imports
2021-06-12 19:46:33 -04:00
Jakob Hellermann
4224d14a08
move bin/naga.rs to a separate crate in workspace ( #938 )
...
* move bin/naga.rs to a separate crate
* enable all shader languages for naga binary
* [naga-cli] add env logger
* [naga-cli] remove unneccessary code
* [naga-cli]enable glsl-validate feature
* move naga-cli to cli, add trailing newline
* remove commented env_logger dependency
2021-06-12 19:24:01 -04:00
Dzmitry Malyshau
4eae5a38d0
hal/vk: hook up gpu-descriptor
2021-06-12 01:04:15 -04:00
Dzmitry Malyshau
006c1baaf2
hal/vk: pipeline layout, object labels and logging
2021-06-11 20:23:15 -04:00
Dzmitry Malyshau
61e2e242cd
hal/vk: textures and samplers
2021-06-11 19:14:41 -04:00
Dzmitry Malyshau
b4380e4576
hal/vk: buffer and texture creation
2021-06-11 15:53:07 -04:00
Dzmitry Malyshau
9ae5e36ad8
hal/vk: format mapping
2021-06-11 14:27:00 -04:00
Dzmitry Malyshau
dc340421c4
hal/vk: instance and adapter
2021-06-11 02:09:29 -04:00
Dzmitry Malyshau
75b6ecea58
hal: Fix iOS build
2021-06-10 17:09:46 -04:00
Dzmitry Malyshau
e345ad1c64
hal: make example to destroy temporary views
2021-06-10 16:55:17 -04:00
Dzmitry Malyshau
faf8f7e890
Simple API for coherent mapping
2021-06-10 16:05:44 -04:00
Dzmitry Malyshau
d88aa99997
Fix rows-per-image treatment, clippy warnings
2021-06-10 15:43:21 -04:00
Dzmitry Malyshau
38e13a178b
hal/mtl: array length support
2021-06-10 14:22:32 -04:00
Dzmitry Malyshau
af022ed21e
Add Hash to ResourceBinding
2021-06-10 14:19:41 -04:00
Dzmitry Malyshau
006f8abbba
build and clippy fixes, command buffer cleanup
2021-06-10 12:44:29 -04:00
Dzmitry Malyshau
317237771e
hal: rename bunnymark to halmark
2021-06-10 11:29:35 -04:00
Dzmitry Malyshau
782c72d32c
hal/mtl: queue
2021-06-10 10:54:06 -04:00
Dzmitry Malyshau
3109b1b63d
hal/mtl: most of the command encoding
2021-06-10 02:31:31 -04:00
Dzmitry Malyshau
bdaf57dbed
hal/mtl: pipelines and fences
2021-06-09 23:38:48 -04:00
Dzmitry Malyshau
9f904700ee
hal/mtl: creation of bind groups
2021-06-09 17:06:43 -04:00
João Capucho
10422c6b4a
Regenerate quad-glsl shader
2021-06-09 13:06:36 -04:00