Jinlei Li
8b2e6fe3a2
Roll naga to 571302e
(50 revisions) ( #2672 )
2022-05-18 21:09:22 -07:00
Jim Blandy
c608ee0bbe
Accept both parking-lot 0.11 and 0.12.*, to avoid windows-rs. ( #2660 )
...
In parking_lot 0.12 and parking_lot_core 0.9.0, those crates switched
from the winapi crate to the official Microsoft windows-sys crate.
This is fine, except that windows-sys and its dependencies are even
larger than winapi. Some users may wish to stick with winapi for the
time being; this change allows wgpu to accommodate them.
2022-05-16 01:16:53 -04:00
Emilio Cobos Álvarez
a613a568b6
Update parking_lot. ( #2639 )
2022-05-03 04:28:17 +00:00
Connor Fitzgerald
e54a36ee78
Move texture-array example over to wgsl ( #2618 )
2022-04-25 18:32:53 +00:00
Jim Blandy
6d7c092dad
Update Naga to 85056524
(2022-4-18).
2022-04-18 20:27:42 -07:00
Jim Blandy
3d10678a91
Update to Naga 0e2bb019
.
2022-04-18 09:09:47 -07:00
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
Igor Shaposhnik
c5d5dbc7eb
[naga] Update naga with new struct members separator
2022-03-16 20:42:21 -07:00
Connor Fitzgerald
73f42352f3
Dx11 Backend ( #2443 )
2022-03-12 17:14:18 +00:00
Jinlei Li
1bd85a835a
Roll naga from 8e2e39e
to a45b9a6
(27 revisions)
2022-02-22 15:45:05 -05:00
Jinlei Li
fa35c0a0f4
Re-allow vk backend on Apple platforms via vulkan-portability feature
2022-02-18 20:26:53 -05:00
Alexander Guryanov
d586d6dce9
added id32 feature
2022-02-14 14:42:23 -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
João Capucho
dcd07f0391
Update to upstream naga
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
eda3d4fa34
Update naga to 09d35f3
2022-01-05 23:33:43 -05:00
Dzmitry Malyshau
39b7a8a202
Update naga to 8df5421
2021-12-25 00:03:15 -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
ab28009d80
Angle support on Windows
...
Also remove the macros module in favor of generic functions.
2021-12-05 17:09:36 -05: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
Layl
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
Dzmitry Malyshau
07b02e694d
Update naga to 9d2b357
( #2140 )
2021-10-31 23:29:49 -04:00
Dzmitry Malyshau
016b319b38
Manifests update for 0.11
2021-10-07 19:15:49 -04:00
Zicklag
312828f12f
Implement WebGL2 Backend ( #1686 )
...
* Implement WebGL Backend
* Add WebGL Fixes by @mrk-its
* Update Limits for WASM and Examples
* Address Review Points
2021-10-07 16:18:09 -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
memoryruins
13a0baaca5
Update mentions of gfx-hal to wgpu-hal
2021-10-01 13:50:19 -04:00
Dzmitry Malyshau
c8436de1ec
Force point size output on Vulkan
2021-09-15 19:15:23 -04:00
João Capucho
bf29ceaf10
Update naga to latest
2021-09-11 11:44:27 -04:00
Dzmitry Malyshau
180dc27144
Work around Adreno's OpName bug
2021-09-08 22:24:27 -04:00
Dzmitry Malyshau
e00bfac6cf
vulkan: compile shader modules at pipeline creation time
2021-09-07 20:06:16 -04:00
Dzmitry Malyshau
590ef1d8cf
Switch naga to latest on git ( #1858 )
2021-08-24 18:20:44 -04:00
Dzmitry Malyshau
9da5c1d3a0
Release v0.10 ( #1820 )
...
* Release v0.10
* hal/gles: update glow handles logic
2021-08-18 19:06:21 +00:00
Dzmitry Malyshau
9b85882ff8
[dx12] implement num_workgroups
2021-08-18 00:14:44 -04:00
Dzmitry Malyshau
4dc5546a17
Naga update to 69b70f8
2021-08-16 01:35:19 -04:00
Dzmitry Malyshau
1e7d86b655
Update Naga to 69b70f8
2021-08-13 02:09:43 -04:00
Dzmitry Malyshau
f2a18ee57c
Update naga to 1907a92
2021-08-12 23:58:19 -04:00
Zicklag
9310f264f1
Update Naga With New Storage Classes API ( #1766 )
2021-08-05 13:50:51 -04:00
Dzmitry Malyshau
69f808c54a
hal/dx12: support base vertex/instance
2021-07-27 08:59:41 -04:00
Dzmitry Malyshau
405cf57955
hal/dx12: compact register allocation, naga update
2021-07-26 02:01:14 -04:00
Dzmitry Malyshau
8dc4942431
Update naga to bbfa9a0
, tweak DX12 debug output
2021-07-23 10:48:32 -04:00
Dzmitry Malyshau
2c45796d9c
Update Naga to cc91c77
2021-07-23 02:19:42 -04:00
munrocket
f909a8e631
update naga revision
2021-07-22 20:52:26 +04:00
Dzmitry Malyshau
be13fe3048
hal/dx12: fix the binding model
2021-07-20 10:07:40 -04:00
Dzmitry Malyshau
35145615bf
Update naga, use binding map in DX12
2021-07-18 12:03:14 -04:00
initial-algebra
0db00e9657
Implement Feature::SHADER_PRIMITIVE_INDEX
on Vulkan
2021-07-17 15:31:35 -03:00
Dzmitry Malyshau
509b683e6b
hal: renderdoc integration
2021-07-14 16:17:39 -04:00
Dzmitry Malyshau
0a609e74c0
hal/dx12: compute pipelines, update naga
2021-07-13 01:04:06 -04:00
Dzmitry Malyshau
c01f6a557e
hal/dx12: enable the backend in wgpu-core
2021-07-13 01:01:19 -04:00
Benoît du Garreau
e7269e72f3
Upgrade arrayvec
to 0.7
2021-07-06 00:45:24 +02:00
Dzmitry Malyshau
ba8fcb937d
Update naga to 0b9af95
2021-07-02 01:58:19 -04:00
Dzmitry Malyshau
582c128520
Pick up naga's GLSL continuing and Y-flip fixes
2021-06-30 02:29:30 -04:00
Dzmitry Malyshau
e4aee90341
hal/gles: object labels, view dimensions, and buffer clears
2021-06-30 02:29:29 -04:00
Dzmitry Malyshau
952173efde
Enable Gles backend, add checks for downlevel flags
2021-06-30 02:29:28 -04:00
Dzmitry Malyshau
5ca1fe58e9
Update naga to 57b3256020
2021-06-27 01:44:49 -04:00
Connor Fitzgerald
b060bf1afe
Assorted touchups
2021-06-23 20:23:19 -04:00
Connor Fitzgerald
22b8e2851f
Remove loom
2021-06-23 19:10:11 -04:00
Dzmitry Malyshau
4c03d286c6
Remove SPIRV entirely from wgpu-core
2021-06-22 12:35:22 -04:00
Dzmitry Malyshau
da38b8b077
Make spirv an optional feature
2021-06-21 12:09:12 -04:00
Connor Fitzgerald
74d2becb18
Relicense to MIT/Apache
2021-06-18 13:40:31 -04:00
Connor Fitzgerald
f49c50442f
Update naga to gfx-26
2021-06-18 13:15:28 -04:00
Dzmitry Malyshau
6f655e0b14
hal/vk: barriers and copies
2021-06-15 15:58:12 -04:00
Dzmitry Malyshau
4eae5a38d0
hal/vk: hook up gpu-descriptor
2021-06-12 01:04:15 -04:00
Dzmitry Malyshau
b4380e4576
hal/vk: buffer and texture creation
2021-06-11 15:53:07 -04:00
Dzmitry Malyshau
dc340421c4
hal/vk: instance and adapter
2021-06-11 02:09:29 -04:00
Dzmitry Malyshau
782c72d32c
hal/mtl: queue
2021-06-10 10:54:06 -04:00
Dzmitry Malyshau
a421c1c8b6
Instance plumbing
2021-06-08 11:46:53 -04:00
Dzmitry Malyshau
0a82c232ba
hal: port the rest of wgpu-core
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
569cd0cdd6
WIP new wgpu-hal
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
e00251d3e3
Update naga to gfx-25
2021-05-13 23:56:26 -04:00
Dzmitry Malyshau
e5ddb94be0
Version bump to 0.8
2021-04-29 11:57:22 -04:00
Dzmitry Malyshau
ffd47fbc0e
Remove Vulkan Portability support
2021-04-29 11:42:26 -04:00
Dzmitry Malyshau
087bd07f55
Add shader compile markers
2021-04-27 12:23:28 -04:00
Dzmitry Malyshau
6c7f2b917f
Update profiling to 1.0
2021-04-26 11:59:15 -04:00
Dzmitry Malyshau
03c4e0969e
Update naga to gfx-23
2021-04-26 11:10:22 -04:00
Dzmitry Malyshau
cc2e547d48
Update gfx to the new image view API
2021-04-20 10:16:30 -04:00
Dzmitry Malyshau
27f51ca252
Update naga to gfx-22, add interpolation sampling validation
2021-04-19 13:33:36 -04:00
adamnemecek
6d3a514c43
updated gfx ( #1327 )
...
* updated gfx
* use long rev
2021-04-14 14:37:13 -04:00
Dzmitry Malyshau
1ba95585ba
Update naga to gfx-21
2021-04-11 01:07:46 -04:00
Dzmitry Malyshau
02442bcb5e
Update gfx with the cmd buf freeing fix
2021-04-06 10:28:51 -04:00
Franz
7a37f07ea0
Updated gpu-alloc
to rev 2cd1ad6
2021-04-06 11:16:49 +02:00
Dzmitry Malyshau
2e9d9d8267
Update gfx with fixed Metal cross feature
2021-04-05 00:48:17 -04:00
Dzmitry Malyshau
0bd8526239
Update naga to gfx-20
2021-04-04 11:25:10 -04:00
adamnemecek
d91ad13482
framecapture
2021-04-01 12:51:50 -07:00
Dzmitry Malyshau
49c59ec063
Update gfx to the MSL entry point fix
2021-03-30 21:25:40 -04:00
Gordon-F
124d5e3a7c
Update naga to gfx-19
2021-03-31 02:00:48 +03:00
Igor Shaposhnik
6097421647
Update to latest gpu-alloc
2021-03-29 09:33:40 +00:00
Gordon-F
c1f8203f3c
Update naga to gfx-18
2021-03-25 16:59:16 +03:00
Dzmitry Malyshau
c52dad9d47
Update naga to gfx-17
2021-03-19 13:43:11 -04:00
Dzmitry Malyshau
b97f5a5b24
Update naga to gfx-16
2021-03-17 09:07:08 -04:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing
to log
+ profiling
2021-03-17 01:22:30 -04:00
Dzmitry Malyshau
3b1b11f441
Update naga to gfx-15
2021-03-16 12:52:32 -04:00
Wumpf
717c2d73e7
Add CONSERVATIVE_RASTERIZATION native feature ( #1263 )
...
* Add CONSERVATIVE_RASTERIZATION native feature
* update gfx to cd3042d8c02d9dc7fc74ac8c292099c9789f6d43
* error for polygon mode not fill +conservative raster
2021-03-14 20:43:02 -04:00
Dzmitry Malyshau
280c066e65
Update to naga-14
2021-03-14 00:27:57 -05:00
Anthony Cowley
f01feacc2e
Update gfx and naga to gfx-13 tag ( #1248 )
...
* wgpu-core: update gfx-hal usage related to sparse resources
* wgpu-core: support naga gfx-13
* Update gfx and naga dependencies to gfx-13 tag
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-03-10 00:04:16 -05:00
Dzmitry Malyshau
7c1db12cdc
Refactor implicit BGLs to support early tracing
2021-03-03 16:48:23 -05:00
Aaron Hill
8b4bec5d9a
Update gfx to 0a201d1c406b5119ec11068293a40e50ec0be4c8
...
Fixes #246
Pulls in https://github.com/gfx-rs/gfx/pull/3653 ,
which fixes a segfault when using wgpu from a non-main thread.
2021-02-25 15:25:40 -05:00
Dzmitry Malyshau
91f5329b33
Update gfx and naga to gfx-12
2021-02-21 11:25:45 -05:00
Dzmitry Malyshau
fdd50e10fd
Update naga to gfx-11
2021-02-16 09:46:22 -05:00
Dzmitry Malyshau
42d3f1f087
Update naga to gfx-10, add push constants validation
2021-02-09 10:06:55 -05:00
Dzmitry Malyshau
8ed543f26a
Update all versions
2021-02-01 00:35:40 -05:00
Dzmitry Malyshau
4764ff21e9
Update gfx with the new iterator API
2021-01-28 12:40:24 -05:00
Dzmitry Malyshau
952ccbcf85
Update naga to gfx-7
2021-01-23 22:17:09 -05:00
Matt Keeter
38b184428d
Bump gfx to latest master
2021-01-22 08:58:51 -05:00
Dzmitry Malyshau
5fccabf3b8
Update gpu-alloc and remove the associated locking
2021-01-19 20:59:50 -05:00
Dzmitry Malyshau
7f8c776a85
Update gfx to unborrowed APIs
2021-01-19 00:33:45 -05:00
Dzmitry Malyshau
87c8cb8fde
Update gfx and naga to gfx-6 tag, fix the hub clears
2021-01-16 01:38:57 -05:00
Dzmitry Malyshau
6c05470db0
Minor dependencies bumps
2021-01-15 01:11:28 -05:00
Dzmitry Malyshau
012569845d
Update render pass and framebuffers logic to the latest gfx-hal
2021-01-15 00:53:28 -05:00
TheArtist
ce908c5f57
Changed Arc<B::Memory> to Arc<Mutex<B::Memory>> in GpuAllocator
2021-01-09 19:53:13 +02:00
Connor Fitzgerald
79973aaaff
Bump gfx-hal and gpu-alloc
2020-12-27 01:10:24 -05:00
Dzmitry Malyshau
35b163ebc8
Encode render passes while command buffer is only read-locked
2020-12-22 13:48:18 -05:00
Vincent Jousse
0899bb7207
Fix build for wasm32 target
2020-12-18 22:09:20 +01:00
Dzmitry Malyshau
f07cc8156b
Update naga and gfx, move the shader validation into a shader descriptor bit
2020-12-17 11:33:47 -05:00
Dzmitry Malyshau
a316fff427
Update Naga to gfx-4, update gfx with GL fixes
2020-12-07 01:30:52 -05:00
Dzmitry Malyshau
dccc57e7b5
Switch playtests to WGSL
2020-12-06 14:51:23 -05:00
Dzmitry Malyshau
749f737c89
Add pervasive Naga support to shader module loading
...
The purpose of the PR is to support Naga modules everywhere.
As a requirement, it updates the gfx-rs version used.
Most of the logic is dedicated towards building a shader interface,
where previously we just used naga's IR. Now we have our own mini-IR.
2020-12-05 11:31:03 -05:00
Dzmitry Malyshau
9e2f6c2f01
Move to gfx master
2020-11-30 22:50:13 -05:00
Dzmitry Malyshau
10c11d718d
Replace gfx-descriptor by gpu-descriptor
2020-11-30 21:48:04 -05:00
lordnoriyuki
162cd6bd86
Disable gfx-backend-gl on macOS
2020-11-28 16:11:16 -08:00
lordnoriyuki
c80ca8dbe4
Updating to latest gpu-alloc
2020-11-24 19:10:46 -08:00
Dzmitry Malyshau
2f55c708b8
Update gpu-alloc and naga with linear allocation fixes
2020-11-24 09:40:36 -05:00
Dzmitry Malyshau
fccbca28bd
[error] shader module creation, separate descriptor
2020-11-23 11:57:32 -05:00
Dzmitry Malyshau
b48764728d
Update gpu-alloc and naga
2020-11-18 09:24:43 -05:00
Dzmitry Malyshau
b0a98548d1
Update naga to 4d4e1cd4cb
2020-11-13 12:26:48 -05:00
Dzmitry Malyshau
22efbeae70
Replace gfx-memory by gpu-alloc
2020-11-09 12:16:34 -05:00
Zicklag
f7f1ff699a
Implement OpenGL Backend For Unix Platforms
2020-11-04 20:32:33 -06:00
Zicklag
7beb7c3411
Update For Latest GFX
...
Using a specific Git commit for now because it is unreleased.
2020-11-02 20:25:07 -06:00
Dzmitry Malyshau
a4e8d58144
Update gfx-backend-vulkan to 0.6.4
2020-10-15 16:03:30 -04:00
Dzmitry Malyshau
50594a747d
Another small Naga update
2020-10-07 16:14:25 -04:00
Dzmitry Malyshau
c18ac58fd8
Update naga with the new usage validation
2020-09-28 10:18:35 -04:00
Dzmitry Malyshau
6a3c106cc4
Update naga with new image API
2020-09-11 12:34:20 -04:00
Zicklag
7572dbeaf9
Use CFG Aliases to Replace the backends! Macro
...
Uses the `cfg_aliases` crate to replace the `backends!` macro and
provide a more natural way to gate backend specific code.
2020-08-29 21:55:17 -05:00
Dzmitry Malyshau
ceac2344fc
Update naga to bd9efe5915
2020-08-27 11:52:02 -04:00
Dzmitry Malyshau
b5475d7d80
Update naga to 4797773152
2020-08-26 15:35:14 -04:00
Dzmitry Malyshau
901b043b19
Version bump to 0.6 and changelog update
2020-08-17 16:51:22 -04:00
Dzmitry Malyshau
d1da6d8106
Switch gfx-hal to 0.6
2020-08-17 10:34:50 -04:00
Dzmitry Malyshau
d07d8503a0
Move the subscriber into a different crate
2020-08-12 15:00:15 -04:00
Dzmitry Malyshau
3291b72368
Update naga and fix type widths
2020-07-31 23:46:19 -04:00
Dzmitry Malyshau
bf862b7907
Clarity renames according to the Gecko review
2020-07-28 16:58:28 -04:00