Commit Graph

812 Commits

Author SHA1 Message Date
dependabot[bot]
723b8baf2a
Bump web-sys from 0.3.65 to 0.3.66 (#4800)
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.65 to 0.3.66.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: web-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 02:03:18 -05:00
dependabot[bot]
3a448b8378
Bump winit from 0.29.3 to 0.29.4 (#4784)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 12:20:20 -05:00
dependabot[bot]
e5d5a492b6 Bump js-sys from 0.3.65 to 0.3.66
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.65 to 0.3.66.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: js-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 12:01:11 -05:00
Xiaopeng Li
a6503e59c9
Support nv12 texture format (#4573)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-11-28 16:11:26 +00:00
TÖRÖK Attila
2964eed6f9
Bump web-sys to 0.3.65 (#4777) 2023-11-26 17:54:29 -05:00
Teodor Tanasoaia
f4c6faf773
Rename ALLOW_NONCOMPLIANT_ADAPTER to ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER (#4760)
* rename `ALLOW_NONCOMPLIANT_ADAPTER` to `ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER`

* clarify comment
2023-11-24 14:29:54 -05:00
Connor Fitzgerald
3c261f3652
Allow Tests to Expect Certain Panic or Validation Messages (#4748) 2023-11-23 03:49:01 -05:00
i509VCB
1a7db86917
wgpu-hal(vk): Add WGPU_ALLOW_NONCOMPLIANT_ADAPTER (#4754) 2023-11-22 23:13:29 -05:00
Connor Fitzgerald
1df98d9888
Test And Normalize Vertex Behavior on All Backends (#4723)
Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
2023-11-21 22:11:24 +00:00
Jim Blandy
72462267e8 [naga]: Let TypeInner::Matrix hold a Scalar, not just a width.
Let `naga::TypeInner::Matrix` hold a full `Scalar`, with a kind and
byte width, not merely a byte width, to make it possible to represent
matrices of AbstractFloats for WGSL.
2023-11-21 12:02:50 +01:00
Mauro Gentile
6e21f7a929
Arcanization of wgpu core resources (#3626)
Arcanization of wgpu_core resources

---------

Co-authored-by: Elabajaba <Elabajaba@users.noreply.github.com>
Co-authored-by: Niklas Korz <niklas@niklaskorz.de>
Co-authored-by: grovesNL <josh@joshgroves.com>
Co-authored-by: Jim Blandy <jimb@red-bean.com>
Co-authored-by: Mauro Gentile <Mauro.Gentile@ubisoft.com>
Co-authored-by: Sludge <96552222+SludgePhD@users.noreply.github.com>
2023-11-20 08:41:52 +01:00
Teodor Tanasoaia
666f681dae
[vk] check that adapters are Vulkan compliant (#4718) 2023-11-17 17:42:53 -05:00
Teodor Tanasoaia
a34e39ad2f
[dx12] filter out haswell iGPUs (#4709) 2023-11-17 13:40:09 -05:00
daxpedda
bec6560e10
Add WasmNotSendSync (#4702) 2023-11-16 19:47:10 -05:00
Jim Blandy
9f91c95c24 [naga] Introduce Scalar type to IR.
Introduce a new struct type, `Scalar`, combining a `ScalarKind` and a
`Bytes` width, and use this whenever such pairs of values are passed
around.

In particular, use `Scalar` in `TypeInner` variants `Scalar`, `Vector`,
`Atomic`, and `ValuePointer`.

Introduce associated `Scalar` constants `I32`, `U32`, `F32`, `BOOL`
and `F64`, for common cases.

Introduce a helper function `Scalar::float` for constructing `Float`
scalars of a given width, for dealing with `TypeInner::Matrix`, which
only supplies the scalar width of its elements, not a kind.

Introduce helper functions on `Literal` and `TypeInner`, to produce
the `Scalar` describing elements' values.

Use `Scalar` in `wgpu_core::validation::NumericType` as well.
2023-11-14 14:21:27 +01:00
Andreas Reich
f7420511d0
rename/deprecate block_size -> block_copy_size, improve docs (#4647)
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-11-13 19:04:35 +00:00
Westerbly Snaydley
2e7fd75712
vk: Enable FifoRelaxed PresentMode (#4666) 2023-11-10 17:09:42 +00:00
Teodor Tanasoaia
1d4fa812ef
Gate usage of metal::ComputePassDescriptor on timestamp query support (#4643) 2023-11-06 14:30:04 +00:00
Connor Fitzgerald
7f72c9fc3b
Fix GL Push Constant Layout (#4607)
* It verks!

* More tests

* Fixes

* Working multi-stage push constants

* Comments

* Add push constant partial update teste

* Docs

* Update Cargo.toml

* Comments
2023-11-06 07:58:26 -05:00
exrook
e7e2f2aa73
vulkan: Log validation layer messages during instance creation/destruction (#4586) 2023-11-05 23:14:59 -05:00
daxpedda
9501ccc6b0
Use HLSL 2018 (#4629) 2023-11-04 19:53:48 +00:00
dependabot[bot]
c7431367a5
Bump gpu-allocator from 0.23.0 to 0.24.0 (#4626)
Bumps [gpu-allocator](https://github.com/Traverse-Research/gpu-allocator) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/Traverse-Research/gpu-allocator/releases)
- [Changelog](https://github.com/Traverse-Research/gpu-allocator/blob/main/release.toml)
- [Commits](https://github.com/Traverse-Research/gpu-allocator/compare/0.23.0...0.24.0)

---
updated-dependencies:
- dependency-name: gpu-allocator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 09:24:36 +01:00
dependabot[bot]
e78e9dd400
Bump js-sys from 0.3.64 to 0.3.65 (#4622)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:41:23 -04:00
dependabot[bot]
0bf3e619e8
Bump hassle-rs from 0.10.0 to 0.11.0 (#4623)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:41:17 -04:00
Zoxc
3f80ee785c
Implement mipmap views on the OpenGL backend (#4278) 2023-11-01 16:57:24 -04:00
Zoxc
8f6fcb1e6f
Further OpenGL 3.1 support (#4612) 2023-10-30 11:51:13 -04:00
Zoxc
ac896cf223
Improve OpenGL 3.1 support (#4272)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-30 05:35:24 +00:00
Zoxc
ff1ba0b4fe
[wgl] Create a hidden window per instance (#4603) 2023-10-30 01:10:01 -04:00
Connor Fitzgerald
2aa7c29068
Extra Profiling Scopes (#4610) 2023-10-30 03:58:32 +00:00
TornaxO7
4c5a817071
Bump raw window handle to 0.6.0 (#4202)
Co-authored-by: junglie85 <junglie85@gmail.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-27 05:24:46 +00:00
Connor Fitzgerald
2a9fdf9aa1
Misc Repo Cleanup Tasks (#4579)
* Misc Repo Cleanup Tasks

* Dependency Trimming

* Dep cleanup

* Restrict libfuzzer

* Flip cfg

* mod fuzz
2023-10-27 00:15:51 -04:00
Nicolas Silva
9fd13dcce3
Validate max_vertex_buffers in set_vertex_buffer (#4574) 2023-10-26 19:48:03 -04:00
Erich Gubler
9e2d73d734 move(hal,dx11,dx12): use local path dep. for d3d12 2023-10-26 13:30:44 -04:00
Connor Fitzgerald
ca7ac86ccd
DXC on DX12 in CI (#4571) 2023-10-26 04:01:38 -04:00
Connor Fitzgerald
34e947de4b
Integration of Naga into Repo (#4296) 2023-10-25 16:51:36 -04:00
Connor Fitzgerald
493024ebce
Bump metal version 2023-10-25 14:04:01 -04:00
Connor Fitzgerald
92f4207bc0
Release v0.18.0 (#4295) 2023-10-25 17:53:22 +00:00
Zoxc
3bdad8bd77
Add timestamp support to OpenGL (#4267) 2023-10-23 21:26:23 -04:00
wicast
9dc57617e4
feat(spv): shader debug option (#4028)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-23 23:44:04 +00:00
Connor Fitzgerald
85cab49c53
Normalize GL language versions (#4283) 2023-10-23 05:17:00 +00:00
dependabot[bot]
3ed37c3365
Bump glutin_wgl_sys from 0.4.0 to 0.5.0 (#4281)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 03:01:46 +00:00
Connor Fitzgerald
0c7acb2144
Adds some missing features from desktop GL backend (#4279) 2023-10-22 22:54:49 -04:00
Zoxc
095b46dbdb
Fix sRGB issues with glBlitFramebuffer on WGL (#4273)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-20 21:04:09 +00:00
Zoxc
e918031201
Use the device OpenGL context for WGL surfaces (#4271) 2023-10-20 15:45:43 -04:00
Connor Fitzgerald
543f921639
GPU Test Framework (#3873) 2023-10-19 12:06:42 -04:00
Zoxc
2b985e2fad
Add WGL context creation and OpenGL support (#4248)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-18 18:40:33 +00:00
Teodor Tanasoaia
ead6348b43
Set the new naga Capabilities::CUBE_ARRAY_TEXTURES (#4263) 2023-10-18 12:13:21 -04:00
Connor Fitzgerald
3e307a862f
Skip Integrated WARP (#4259) 2023-10-18 14:08:14 +02:00
Teodor Tanasoaia
a842019b34
Vulkan API version refactors (#4252) 2023-10-17 19:20:56 -04:00
Teodor Tanasoaia
c07d889f1b
Update naga to 0.13.0@git:6854b0ab4f105131bfb87704927abec3fe366ef9 (#4254) 2023-10-17 15:49:12 +00:00