* Single squashed commit
* Updated changelog
* Fixed stupid changelog thing
* If I have to do this one more fucking time I'm gonna lose it
* Removed some pub(super)'s
* Thing
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de>
* Initial commit
* Other initial changes
* Updated shader snapshots
* Added new HLSL limitation
* Moved error to global variable error
* Added docs to per_primitive
* Added a little bit more docs here and there in IR
* Adding validation to ensure that task shaders have a task payload
* Updated spec to reflect the change to payload variables
* Updated the mesh shading spec because it was goofy
* some doc tweaks
* Tried to clarify docs a little
* Tried to update spec
* Removed a warning
* Addressed comment about docs mistake
* Review in progress
- Extensive revisions to `docs/api-specs/mesh_shading.md`.
- Doc comments.
- Ensure `Module` stays at the bottom of `ir/mod.rs`.
- Avoid a clone.
- Rename some arguments to be more specific.
- Minor readability tweaks.
* mesh_shading.md: more tweaks
* Ran cargo fmt
* Small tweaks
* [naga] Move definition of `ShaderStage::compute_like` to `proc`.
Move the definition of `naga::ShaderStage::compute_like` from
`naga::ir` into `naga::proc`. We generally want ot keep methods out of
`naga::ir`, since the IR itself is complicated enough already.
* Replace TODO comment with followup issue.
* Update analyzer.rs
Co-authored-by: Jim Blandy <jimb@red-bean.com>
* Removed stuff in accordance with Jim's recommendation
* minor changes for readability
* Pull mesh shader output type validation out into its own function.
* doc fixes
* remove duplicated task payload validation
* Quick little changes
* Another quick fix
* Quick fix
* Removed unnecessary TODO statement
* A
* Tried to be more expressive
* Made functions only work in mesh shader entry points
* Various validation fix attempts
* Undid capabilities resize
* WGSL PR is up :)
* Update naga/src/ir/mod.rs
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
* Update naga/src/front/wgsl/error.rs
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
* Update naga/src/ir/mod.rs
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
* Other Erich suggestion
* Updated docs & validation for some builtins
* Added some docs & removed contentious "// TODO"
* Fixed bad validation, formatted mesh shader wgsl
* Rewrote the IR and parser significantly
* Improved validation slightly, remvoed obselete crap, fixed bug in compaction, made clippy happy
* Added changelog entry
* Made parser respect enable extension
* Updated mesh shader spec
* Cleaned up the mesh shader analyzer function
* Updated changelog
* Updated validation from spv-write
* Slight tweaks
* Added capabilitiy thing blah blah blah
* Fixed compaction & clean stuff up
* Fixed compaction and such pt 2
* Paved the way for primitive-index stuff
* Little bit of cleanup
* Added new features/capabilities for point primitives and added snapshots for stuff
* Updated spec to rename something
* Updated some limits stuff
* Made some improvements
* Fixed doctests & webgpu stuff
* Fixed experimental features stuff
* A little more scaffolding
* Added some initial validation
* Added per primitive validation
* Improved per primitive validation
* Added some more validation
* Fixed primitive index validation
* Updated the spec
* Updated comments on some limits
* Made some fixes
* Fixed new validation rule for task payload size
* Update wgpu-core/src/validation.rs
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
* Update wgpu-core/src/validation.rs
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
* A small tweak to mesh shader recommended minimums
* Addressed 2 comments
* A few more comments addressed with limits
* Addressed more comments
* Update wgpu-core/src/validation.rs
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
* Split up error
* Addressed another comment by changing workgroup size validation
* Final comment addressed
* Update wgpu-info/src/human.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update wgpu-core/src/validation.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update wgpu-info/src/human.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fixed compilation and added some new test functions
---------
Co-authored-by: SupaMaggie70Incorporated <85136135+SupaMaggie70Incorporated@users.noreply.github.com>
Co-authored-by: Jim Blandy <jimb@red-bean.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was a regression introduced by #8307.
For mipmapped multi-planar textures, requires that the size is a
multiple of a power of two determined by the mip level count, in lieu
of properly aligning the size of each mip level to an even
dimension. See #8491.
(The failure referred to by "fails due to missing validation" was
fixed before the regression, by #8402, but was not identified as fixed
and added to the test list at that time.)
P010 is a 4:2:0 chroma subsampled planar format, similar to NV12. Each
component uses 16 bits of storage, of which only the high 10 bits are
used. On DX12 this maps to DXGI_FORMAT_P010, and on Vulkan this maps to
G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16.
The existing "nv12" gpu test module has been renamed to
"planar_texture", and a new test P010_TEXTURE_CREATION_SAMPLING has
been added similar to the existing NV12_TEXTURE_CREATION_SAMPLING. The
remaining tests in this module have been converted to validation tests,
and now test both NV12 and P010 formats.
* Initial Commit
* Remove now-redundant `format` import
* Update CHANGELOG.md
* Appropriately feature-gate `texture_format_serialize` test
* Remove `alloc` feature
Also fixed some documentation links and a Wasm `std` import
* Revert change to `Serialize` for `TextureFormat`
* Combine use statements
* Switch from `PathBuf` to `String`
* Consider environmental flags as unset on `no_std`
* Fix missing `format!`
* Add new CI tasks for `no_std` testing
* Comment out known failing CI matrix option
* Update all usage of `Dx12Compiler::DynamicDxc`
* Added comments to CI
* Update .github/workflows/ci.yml
* Update .github/workflows/ci.yml
* Update .github/workflows/ci.yml
* CI Touchups
---------
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
* Add serde, serialize, deserialize features to wgpu and wgpu-core
Remove trace, replay features from wgpu-types
* Do not use trace, replay in wgpu-types anymore
* Make use of deserialize, serialize features in wgpu-core
* Make use of serialize, deserialize features in wgpu
* Run cargo fmt
* Use serde(default) for deserialize only
* Fix serial-pass feature
* Add a comment for new features
* Add CHANGELOG entry
* Run cargo fmt
* serial-pass also needs serde features for Id<T>
* Add feature documentation to lib.rs docs
* wgpu-types implicit serde feature
* wgpu-core explicit serde feature
* wgpu explicit serde feature
* Update CHANGELOG.md
* Fix compilation with default features
* Address review comments