Commit Graph
8897 Commits
Author SHA1 Message Date
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]andDzmitry 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
João Capucho 06c8588fcd [glsl-in] Add collatz shader and test quad shader 2021-06-09 12:54:58 -04:00
João Capucho fb71e49501 [glsl-in] Implicit cast mod function 2021-06-09 12:54:58 -04:00
João Capucho b15b0b6862 [glsl-in] Use local for mutable non pointer args 2021-06-09 12:54:58 -04:00
João Capucho 605bab12e3 [glsl-in] Don't load unsized types 2021-06-09 12:54:58 -04:00
João Capucho a2ecd8ecff [glsl-in] Refractor global and blocks handling 2021-06-09 12:54:58 -04:00
João Capucho 15c846cd0e [glsl-in] Fix panic when calculating global use 2021-06-09 12:54:58 -04:00
João Capucho d8dc12e47b [glsl-in] Add gl_GlobalInvocationID builtin 2021-06-09 12:54:58 -04:00
João Capucho 2023b1a72c [glsl-in] Implicit convert initializers 2021-06-09 12:54:58 -04:00
João Capucho a9dad25b0f [glsl-in] Implement increment and decrement ops 2021-06-09 12:54:58 -04:00
João Capucho a5b2486a9b [glsl-in] Add mod function 2021-06-09 12:54:58 -04:00
João Capucho 803cb31fb0 [glsl-in] Add support for buffer class 2021-06-09 12:54:58 -04:00
João Capucho 0184e1c875 [glsl-in] Add parsing for some modifiers
Adds support for workgroup size and early fragment tests definitions
2021-06-09 12:54:58 -04:00
Igor Shaposhnik 54af830855 Fix nightly clippy suggestions 2021-06-09 10:17:20 -04:00
João Capucho be2231f6d9 [wgsl-out] Write global initializers 2021-06-09 10:14:46 -04:00
Dzmitry Malyshau f46459c589 hal/mtl: buffer, texture, and view creation 2021-06-09 01:51:45 -04:00
Dzmitry Malyshau 3475d839f9 hal/metal: instance,adapter, and surface 2021-06-09 00:55:49 -04:00