Connor Fitzgerald
628e4cfcf5
Update DXC
2025-04-16 15:02:42 -04:00
Connor Fitzgerald
defca6ee35
Ensure raytracing tests run on slightly downlevel adapters
2025-04-16 15:02:42 -04:00
Connor Fitzgerald
6efeae98dd
Fix path to images on ray_cube_normals test
2025-04-16 15:02:42 -04:00
Connor Fitzgerald
0e898baa8d
Fix skybox example parameters
2025-04-16 15:02:42 -04:00
Connor Fitzgerald
146018cf6e
Update VulkanSDK to 1.4.309
2025-04-16 15:02:42 -04:00
Connor Fitzgerald
1f6a21c5e6
Remove unneeded file
2025-04-16 15:02:42 -04:00
Teodor Tanasoaia
ae3241f352
add changelog entries ( #7551 )
2025-04-16 15:47:01 +00:00
Jim Blandy
fd4eb67877
[naga wgsl-in] Try out new use convention.
...
Change `naga::front::wgsl::lower` to `use` `ir` and `proc`,
and then qualify identifiers with that instead of `crate`.
This is strictly fiddling with `use` directives and name
qualification, with the concomitant formatting changes; there should
be no change to the module's behavior or meaning.
2025-04-16 08:25:14 -07:00
bernhl
06ee718ddd
[naga] Allow Scalar for MathFunction::Distance ( #7530 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2025-04-16 08:24:32 -07:00
Andy Leiserson
09178f2400
[naga] Track globals used directly by a named expression ( #7540 )
2025-04-15 15:01:19 -04:00
Teodor Tanasoaia
ffc920b9ae
[hlsl-out] error on unimplemented non-struct push constants ( #7545 )
2025-04-15 17:12:28 +00:00
teoxoy
62d4e82149
[example] ray_cube_shadows: wrap push constant in a struct
...
We are aware of this issue, I don't know why the example doesn't fail on trunk though...
2025-04-15 17:56:17 +02:00
teoxoy
edbadd2b99
expand on InstanceFlags::VALIDATION_INDIRECT_CALL docs
2025-04-15 17:56:17 +02:00
teoxoy
45d78e2fb4
remove DownlevelFlags::VERTEX_AND_INSTANCE_INDEX_RESPECTS_RESPECTIVE_FIRST_VALUE_IN_INDIRECT_DRAW
2025-04-15 17:56:17 +02:00
teoxoy
597114052e
[d3d12] get vertex_index & instance_index builtins working for indirect draws
2025-04-15 17:56:17 +02:00
Teodor Tanasoaia
3805768cb4
[naga] mark readonly_and_readwrite_storage_textures & packed_4x8_integer_dot_product language extensions as implemented ( #7543 )
2025-04-15 09:30:56 -04:00
Teodor Tanasoaia
78d05f5f71
[core] check that indirect buffers have not been destroyed ( #7534 )
2025-04-14 11:06:32 -04:00
Kevin Reid
8a27fabc78
Fix raw-window-handle dependency being too lenient ( #7526 )
2025-04-12 22:21:57 -04:00
Jim Blandy
936aa4d9dc
[naga xtask] Update Cargo.lock. ( #7522 )
2025-04-11 17:55:42 -04:00
Connor Fitzgerald
303b0db00e
Update release checklist
2025-04-11 15:18:28 -04:00
Connor Fitzgerald
700f235378
Update changelog for 25.0.1
...
# Conflicts:
# CHANGELOG.md
2025-04-11 15:18:28 -04:00
Connor Fitzgerald
f1c496523f
[d3d12] Fix bug with committed resource allocation ( #7519 )
2025-04-11 18:18:43 +00:00
Connor Fitzgerald
e45013645f
[naga] Use racy::OnceBox for Namer::default ( #7517 )
2025-04-11 14:12:25 -04:00
Connor Fitzgerald
27115f7d57
Add bindless support to changelog ( #7516 )
2025-04-11 17:39:16 +00:00
Robert Bamler
7a66927460
Const eval of dot4I8Packed and dot4U8Packed
...
Prompted by rebasing on #7487 .
2025-04-11 13:32:10 +02:00
Robert Bamler
c7d0af156d
Implement dot4I8Packed and dot4U8Packed
...
Closes #7481 .
This implementation roughly follows approach 2 outlined in #7481 , i.e.,
it adds a polyfill for the signed and unsigned dot product of packed
vectors for each platform. It doesn't use the specialized instructions
that are available for this operation on SPIR-V (with capability
DotProductInput4x8BitPacked).
2025-04-11 13:32:10 +02:00
Vecvec
65c56fdee4
[spv-out] Prevent ray intersection functions overwriting each other. ( #7497 )
2025-04-11 11:18:45 +02:00
Jim Blandy
22c4033cb3
[naga] Properly evaluate abs(most negative abstract int).
...
Have constant evaluator use `wrapping_abs` instead of `abs` when
applying `MathFunction::Abs` to AbstractInt values. WGSL says that
applying `abs` to the most negative AbstractInt value must return it
unchanged, which is what Rust's `i64::wrapping_abs` does.
2025-04-10 22:59:22 -04:00
Connor Fitzgerald
e5a2e440b2
Add f16 to changelog
2025-04-10 20:41:28 -04:00
Connor Fitzgerald
47bc85f884
Update release-checklist.md
2025-04-10 20:41:28 -04:00
Connor Fitzgerald
45d8f42513
Use workspace package information everywhere
2025-04-10 20:41:28 -04:00
Bruce Mitchener
dde9422114
Fix build with profiling enabled ( #7509 )
2025-04-11 00:34:05 +00:00
Bruce Mitchener
fec411cf2d
Remove MaintainBase ( #7508 )
2025-04-10 15:09:29 -04:00
Bruce Mitchener
3081c4f094
Fix typos ( #7510 )
2025-04-10 15:09:03 -04:00
Andy Leiserson
2a2c851c40
[naga] Two structs with the same members are not equivalent
...
Fixes #5796
2025-04-10 19:11:56 +02:00
Andy Leiserson
19429a1dc9
[naga] Refactor BlockContext type resolution methods
...
Change `resolve_type` and `resolve_type_impl` to return
`TypeResolution`s. Add a new method `resolve_type_inner` that returns a
`TypeInner` (i.e. what `resolve_type` used to do).
2025-04-10 19:11:56 +02:00
Andy Leiserson
14b5838a00
[naga] Rename TypeInner::equivalent to non_struct_equivalent
2025-04-10 19:11:56 +02:00
Connor Fitzgerald
8c2c2ce203
Release v25 ( #7505 )
naga-cli-v25.0.0
naga-v25.0.0
v25.0.0
wgpu-core-deps-apple-v25.0.0
wgpu-core-deps-emscripten-v25.0.0
wgpu-core-deps-wasm-v25.0.0
wgpu-core-deps-windows-linux-android-v25.0.0
wgpu-core-v25.0.0
wgpu-hal-v25.0.0
wgpu-info-v25.0.0
wgpu-types-v25.0.0
wgpu-v25.0.0
2025-04-10 16:13:02 +00:00
Jamie Nicol
08d3bb5196
[naga msl-out hlsl-out] Ensure wrapper functions for integer division and modulo avoid using minimum value literals
...
As we know that minimum value integer literals can cause problems for
some compilers. (See #7437 )
Make the code which generates these functions call
msl::Writer::put_literal() and hlsl::Writer::write_literal()
respectively to output the minimum value integer literals instead of
just writing them directly, ensuring we only have to handle this
workaround in a single location (per backend).
2025-04-10 10:36:27 -04:00
Jamie Nicol
6dc3b7186c
[naga hlsl-out] Emit most-negative integer value literals as 2nd-most-negative value minus one
...
As we did for MSL in #7437 . eg `-2147483648` becomes `-2147483647 - 1`.
Neither FXC nor DXC currently have any issues parsing the most negative
value literals. However, we have been informed this is not guaranteed to
always be the case, so are making this change as a precaution.
2025-04-10 10:36:27 -04:00
Vecvec
8010203281
Rework acceleration structure build tracking.
2025-04-09 22:27:04 -04:00
Vecvec
382a1e3c9b
Make submission index lockable.
2025-04-09 22:27:04 -04:00
Christian Legnitto
09a641bdf4
Fix include_spirv_raw macro ( #7503 )
2025-04-09 20:56:22 -04:00
Andy Leiserson
a0dbe5ebc6
refactor(msl-out): create a type for bounds check iter items
...
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
2025-04-09 18:45:27 -04:00
Andy Leiserson
a7afb56276
[msl-out] Fix ReadZeroSkipWrite bounds check mode for pointer arguments
...
Fixes #4541
--
Co-authored-by: Liam Murphy <liampm32@gmail.com>
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
2025-04-09 18:45:27 -04:00
Andy Leiserson
7cf3e2f3cc
refactor(msl-out): extract puts_local helper
...
--
Co-authored-by: Liam Murphy <liampm32@gmail.com>
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
2025-04-09 18:45:27 -04:00
Andy Leiserson
dbb36cc556
chore(msl-out): remove TRACE-level logging of expressions
2025-04-09 18:45:27 -04:00
Andy Leiserson
e03c55b236
docs(msl-out): add missing docs. for msl::Writer::access_needs_check
...
--
Co-authored-by: Liam Murphy <liampm32@gmail.com>
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
2025-04-09 18:45:27 -04:00
Andy Leiserson
fc9c8bfba7
refactor(msl-out): add NamedKeyExt trait with local helper method
...
--
Co-authored-by: Liam Murphy <liampm32@gmail.com>
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
2025-04-09 18:45:27 -04:00
Andy Leiserson
587aea2da6
refactor(msl-out): extract bounds_check_iter helper
...
--
Co-authored-by: Liam Murphy <liampm32@gmail.com>
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
2025-04-09 18:45:27 -04:00