Commit Graph
296 Commits
Author SHA1 Message Date
Igor Shaposhnik eff50436f5 Update to Naga rev 1720725 2022-04-15 22:22:48 +03:00
Jim Blandy a47b5c554f Update to Naga rev 7aaac25f. 2022-04-13 14:41:26 -07:00
Alphyr d45e6b4119 Update ash to 0.37 (#2557) 2022-03-27 22:15:58 -07:00
Alphyr b0da1a2c1d Switch from cgmath to glam in examples (#2544) 2022-03-21 10:32:59 -04:00
Igor Shaposhnik c5d5dbc7eb [naga] Update naga with new struct members separator 2022-03-16 20:42:21 -07:00
Jinlei Li ba07db90c8 metal: improve push | pop_debug_marker 2022-03-14 22:21:46 -07:00
Connor Fitzgerald 73f42352f3 Dx11 Backend (#2443) 2022-03-12 17:14:18 +00:00
Jinlei Li c4e9797921 metal: roll metal-rs, fix read_write_texture_tier 2022-03-01 21:05:48 -08:00
Jinlei Li 1bd85a835a Roll naga from 8e2e39e to a45b9a6 (27 revisions) 2022-02-22 15:45:05 -05:00
Lucas Kent bfcdcd6486 Update dev deps (#2493) 2022-02-18 23:24:18 -05:00
Jinlei Li 1c17d15507 Metal backend ASTC HDR formats support (#2477) 2022-02-15 09:43:16 -05:00
Dzmitry Malyshau 6b4f1b843f msl: support unsized array not in structures (#2459) 2022-02-06 05:33:20 +00:00
Samuel Hurel 3e0305d27d Allow non struct buffers in wgsl (#2451)
* Bump naga

* Update examples
2022-02-05 09:53:04 -05:00
Alexander Guryanov b19000367c feature: emscripten 2022-01-27 14:14:29 -05:00
Lucas Kent effcf0874f Get cargo-run-wasm from crates.io (#2415) 2022-01-23 00:26:04 +00:00
João Capucho dcd07f0391 Update to upstream naga 2022-01-22 18:36:26 -05:00
João Capucho 83d0d16177 hal/gl: Allow push constants trough emulation
Uses freestanding uniforms for push constants
2022-01-22 18:36:26 -05:00
Aaron O'Mullan 5877117529 chore: bump naga to a1840be (#2401)
* chore: bump naga to a1840be

So tip no longer indirectly pins indexmap, etc...

* feedback

* TODO push_constant_binding
2022-01-17 19:17:31 -05:00
Dzmitry Malyshau 1bab287eae Update naga to c0b7ac7 2022-01-11 11:45:33 -05:00
Dzmitry Malyshau dbec075cdc Texture format MSAA capabilities 2022-01-11 09:32:25 -05:00
Dzmitry Malyshau eda3d4fa34 Update naga to 09d35f3 2022-01-05 23:33:43 -05:00
Lucas Kent b88808b454 Replace run-wasm-example.sh with aliased rust crate (xtask) 2022-01-04 23:56:47 -05:00
Dzmitry Malyshau 75b885b0ca hal/gles: support externally initialized contexts 2022-01-04 00:23:47 -05:00
Benoît du Garreau 66a661d14b Update ash to 0.35 2021-12-29 10:26:53 -05:00
Dzmitry Malyshau 39b7a8a202 Update naga to 8df5421 2021-12-25 00:03:15 -05:00
Alphyr 890f326461 Update ash to 0.34 (#2313) 2021-12-23 11:23:13 -05:00
Dzmitry Malyshau c00e471274 Release 0.12 2021-12-18 12:36:41 -05:00
Dzmitry Malyshau 3960658529 Remove block decorations (#2292) 2021-12-15 12:29:37 -05:00
Dzmitry Malyshau 0e5892fa04 Update naga with Metal bounds checks (#2276) 2021-12-15 04:59:06 +00:00
Dzmitry Malyshau 6c2e8edb64 hal/gles: support ASTC, fix WebGL extensions for compressed formats (#2289) 2021-12-14 15:25:57 +00:00
Dzmitry Malyshau 9bbea3d348 Update naga to c69f676 2021-12-04 12:46:49 -05:00
Igor Shaposhnik c6d1491bb1 Update raw-window-handle to 0.4 2021-12-01 15:59:05 -05:00
LaylandLayl Bongers 2ef72b9313 Add multiview support (#2187)
Co-authored-by: Layl Bongers <2385329-layl@users.noreply.gitlab.com>
2021-11-19 10:56:48 -05:00
Dzmitry Malyshau 27aae2a2a2 Update naga to eda078d (#2172) 2021-11-10 16:06:32 -05:00
Alphyr 99830957e8 Update ron (#2154) 2021-11-04 22:41:21 -04:00
Dzmitry Malyshau ca7ca749cd Update naga to 323999f, report pretty errors in shader validation (#2141) 2021-11-01 16:57:33 -04:00
Andrew Wheeler(Genusis) 1759722b69 Added GLSL to ShaderSource behind Feature lock (#2055)
* Added GLSL to ShaderSource behind Feature lock

* Used full path for Naga's FastHashMap and ShaderStage rather than add them as a pub include

* changed spirv and glsl web feature to web-shader-translation. Now requires glsl or spirv to be choosen along with the web-shader-translation to unlock their usage

* Changed the Description of the Glsl enum

* Added README update

* Made With with

* added catch all that panics if web-shader-translation is not enabled with spirv or glsl

* added Compiler condition to prevent the catch all unless glsl or spirv exists without web-shader-translation

* We decided to use [target.'cfg(target_arch = wasm32)'.dependencies.naga] within cargo to include wgsl-out in the Web backend unconditionally, which removed the need for a panic

* Removed wasm targets section from readme as it is no longer needed

* Named Glsl fields to make them more understandable as to what they are for

* Fixed the enum usage for GLSL and Added documentation for the fields
2021-10-12 19:20:45 +00:00
Dzmitry Malyshau 5441556988 Release wgpu-hal-0.11.2 2021-10-12 12:22:49 -04:00
Dzmitry Malyshau d48bc62826 hal/vk: check for NV optimus 2021-10-09 16:33:45 -04:00
Dzmitry Malyshau 016b319b38 Manifests update for 0.11 2021-10-07 19:15:49 -04:00
Dzmitry Malyshau 85fbbbbbf3 Cargo lock update, limits fix (#2033) 2021-10-07 16:57:33 -04:00
Connor Fitzgerald 6df5f95b67 Update naga to 2e7d629 2021-10-07 16:09:13 -04:00
Dzmitry Malyshau dfa4948033 Update naga to 0e3fbc8 2021-10-07 08:32:01 -04:00
Connor Fitzgerald 647f6ee9f2 Disable partially bound arrays on intel/windows 2021-10-05 08:57:33 -04:00
Dzmitry Malyshau 4054d82454 Bring back the root lockfile 2021-10-04 08:47:13 -04:00
Luca Casonato d5ba0b439d WIP: add cts_runner and deno_webgpu crate (#1859)
* WIP: add cts_runner and deno_webgpu crate

* add test

* remove Cargo.lock

* review comment

* simplify

* fix bugs

* improve cts_runner to work with crowlKats/webgpu-examples

* fix

* remove build.rs

cts_runner binaries are now not portable anymore.

Also startup will now print a bunch of cargo:rerun-if-changed=. This
will be fixed in deno_core.

* remove d.ts

* add original deno license file
2021-09-03 13:23:35 -04:00
Dzmitry Malyshau 590ef1d8cf Switch naga to latest on git (#1858) 2021-08-24 18:20:44 -04:00
Hugo Woodiwiss 663cb309a0 Update web-sys 0.3.51 to 0.3.53 (#1844)
* Update web-sys to work with newer ff nightly

* Update wgpu for web-sys 0.3.53

* Implement get_current_texture for web backend

* Set access for GpuStorageTextureBindingLayout

* Move inline mapping to use existing mapping fn

* Implement SPV to WGSL Conversion

Error handling is not completed yet.

* Update spv to wgsl conversion to match existing

Move to using spv::Parser struct
Remove need for unsafe block
Copied from https://github.com/gfx-rs/wgpu/blob/f3c9f412f69f367419cd4ac847f0a20f1f34d56e/wgpu/src/backend/direct.rs#L971-L978

* Add spirv-web feature

For spir-v --> wgsl conversion in the web backend

* Update README to include spirv-web
2021-08-24 15:52:08 +00:00
Dzmitry Malyshau a296cf6e9e [metal] set threadgroup memory sizes reflected from the shader 2021-08-19 13:25:04 -04:00
Dzmitry Malyshau 564330432f Bump wgpu version to 0.10.1 2021-08-18 15:34:08 -04:00