Commit Graph
1148 Commits
Author SHA1 Message Date
Máté Homolya bf5c6cff4e Implement bindless buffers on metal (#9081) 2026-06-29 17:21:43 -04:00
Connor Fitzgerald 87bfa5ebb2 Properly generate glsl sidecar for 9629 (#9750) 2026-06-26 03:25:41 +00:00
Mike Seddon cab7d0b47f Add MSL support for mixed-precision cooperative matrix multiply-add (#9629) 2026-06-25 22:14:27 -04:00
Kevin Reid 156741bcb2 Add Debug implementations and missing_debug_implementations lint. (#9744) 2026-06-25 18:57:47 -04:00
Vecvec 55534165c1 [spv-out] Some small ray query fixes (#9731) 2026-06-24 20:32:54 -04:00
d21c0d08ef Migrate from taplo to tombi for TOML CI (#9694)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
Co-authored-by: Kevin Reid <kpreid@switchb.org>
2026-06-19 13:53:49 +00:00
Andy Leiserson cdb08a7728 chore(naga): Enable large_stack_frames lint 2026-06-17 07:59:12 -07:00
Andy Leiserson d1ef7134a1 refactor(naga): Sort clippy waivers 2026-06-17 07:59:12 -07:00
Andy Leiserson 813f5e5243 chore(naga msl-out): Remove dead code left over from stack size test 2026-06-17 07:59:12 -07:00
Andy Leiserson 493bfe30fe fix(naga hlsl-out): Reduce stack usage (#9648) 2026-06-17 07:24:55 -07:00
Andy Leiserson 0892b3841a fix(naga msl-out): Fix identifier collision for multiple fragment returns (#9684) 2026-06-17 10:02:56 +02:00
Connor Fitzgerald bb3ab6f796 Add GLSL output to naga snapshots (#9204) 2026-06-15 21:41:38 +00:00
renovate[bot] 2086f62106 Update crate-ci/typos action to v1.47.2 (#9652) 2026-06-15 17:49:46 +00:00
Rui He ac2c247c2a fix(naga): zero initialize loop-local var declarations in each iteration (#9592) 2026-06-15 14:42:48 +00:00
Inner Daemons 1c42a95e37 Add naga-types crate (#9434) 2026-06-15 16:11:06 +02:00
Trey 1c77f87b0f fix packSnorm2x16/packUnorm2x16 swap in naga GLSL frontend (#9675) 2026-06-15 15:01:41 +02:00
Dzmitry MalyshauandConnor Fitzgerald 10f97e5777 Add emit_int_div_checks option to skip integer division safety wrappers (#9443)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-12 18:31:24 +00:00
saripalli shanmukha kiran sagar 6fbbb0fbb7 naga: add take() method to Arena and UniqueArena (#9611) 2026-06-08 15:02:23 -07:00
AdrianEddyandAndreas Reich c003fc45e2 feat(gles): add support for 16-bit normalized texture formats and color attachments (#9601)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-06-07 09:02:33 +00:00
Dragoy 66d997113f naga: include OpAtomicCompareExchange result access in emitted range (#9621) 2026-06-03 20:03:55 +02:00
Jim BlandyandAndreas Reich 498e746ad2 [naga msl-out] Remove unnecessary pub from Writer fields. (#9395)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-05-27 16:13:17 +00:00
kwillemsenandKoen Willemsen ce445e882e Expose notes from wgsl::ParseError (#9572)
Co-authored-by: Koen Willemsen <Koen.Willemsen@materialise.be>
2026-05-22 10:01:01 -04:00
Connor Fitzgerald d88b06caca Fix type resolution issue in GL push constants (#9116) 2026-05-20 08:19:51 -07:00
Andy Leiserson 4c1ea47ea2 fix(dx12): Fix textureNum{Levels,Layers,Samples} functions (#9542) 2026-05-13 17:51:15 +02:00
Dzmitry Malyshau 1781d73b40 msl: fix cooperative matrix loading semantics (#9451) 2026-05-12 14:20:06 -07:00
Andy Leiserson 20d6629185 fix(naga): Don't panic on oversize types (#9516) 2026-05-11 18:58:12 +02:00
teoxoy 786b8b11da [hlsl] handle matCx2<f16> in the uniform address space properly 2026-05-07 20:22:15 +02:00
teoxoy 22720cf121 fix reading from uniform variables of type array<matCx2<T>, N> 2026-05-07 20:22:15 +02:00
JMS55 868eb17098 SHADER_I16 full support (#9412) 2026-04-24 20:49:41 -04:00
Vecvec 56e4a389dd [spv-out] ray tracing pipelines (#9085) 2026-04-20 17:02:49 +02:00
Andy Leiserson e855a96b48 fix(naga): Accept trailing comma in 1-arg @interpolate 2026-04-17 11:50:51 -07:00
Andy Leiserson b051a87e3e fix(naga): Require explicit flat interpolation for integer shader I/O 2026-04-17 11:50:51 -07:00
Andy Leiserson 75ed5df337 test: Add snapshot test for GLSL interpolation spec 2026-04-17 11:50:51 -07:00
AliandConnor Fitzgerald c040694c94 fixed mat2xc alignment in spv (#9369)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-15 20:52:49 +00:00
Vecvec f6d9a1dbaa [msl-out] Switch to intersection queries (#9304) 2026-04-15 16:01:28 -04:00
atlv 8dce18fc56 Rename PerVertex to WgpuPerVertex for consistency (#9416) 2026-04-14 12:14:54 -04:00
Jim Blandy fccadd6f07 [naga wgsl-in] Restore accidentally removed recursion depth check. (#9424) 2026-04-14 09:22:29 +02:00
AliandErich Gubler 51faa6fd87 Implements #8875: Using binding_array should require an enable extension (#9298)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-04-11 04:52:44 +00:00
Neel Tamtam 7159dfcc14 fix: restore changelog entry and remove redundant atomic load guard (#9400) 2026-04-10 14:17:15 -04:00
atlv e6e5f5288c Bring immediate in line with webgpu spec (#9280) 2026-04-09 22:36:02 +00:00
Neel TamtamandConnor Fitzgerald f0201c9cc3 Fix: Polyfill atomic load/store correctly in GLSL/HLSL (#9242) (#9387)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-09 01:49:19 +00:00
Inner Daemons 948b1a6c66 Remove unnecessary object data threadgroup barriers in MSL writer (#9396) 2026-04-08 16:05:17 -07:00
Ali 9c49f92347 fix fragment ignoring reserved keywords in metal (#9379) 2026-04-07 16:15:24 -06:00
renovate[bot]andAndreas Reich 6635e4dda1 chore(deps): update crate-ci/typos action to v1.45.0 (#9376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-04-07 20:36:03 +02:00
Inner DaemonsandAndreas Reich b5bd5aed7d Mesh shaders MSL writer (#8739)
* 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>
2026-04-07 17:26:22 +00:00
Ali 74827c4181 Implements #9176 : [[max_total_threads_per_threadgroup]] MSL attribute (#9327)
* Implements #9176 : `[[max_total_threads_per_threadgroup]]` MSL attribute

* introduced `DownlevelFlags::MSL2_1`
2026-04-07 11:40:13 +02:00
dnsn021anddongsong 3a8b7eaf05 fix(naga): validate @must_use usage on non-function declarations (#9367)
---------

Co-authored-by: dongsong <dongsong@pkpm.com.cn>
2026-04-03 17:20:04 +00:00
Ali c58092266e fixed incorrect packed_int3 conversion generated for Metal (#9355) 2026-04-02 13:29:04 -06:00
Brendon Daugherty 1080b4faf3 fix(wgsl-in): Handle Unterminated Block Comments (#9356) 2026-04-02 13:26:21 -06:00
e46eda2e4f Full per_vertex implementation (#9219)
* Some stuff worked on

* Works on MSL

* Ready for test 2

* Fix for a thing lol

* Fixed 2 errors

* Fixed DXC

* Add changelog

* Updated CI to hopefully pass on macOS

* Various fixes

* Some final fixes

* CHanged CI

* Update naga/src/front/wgsl/parse/directive/enable_extension.rs

Co-authored-by: atlv <email@atlasdostal.com>

* Thing

---------

Co-authored-by: atlv <email@atlasdostal.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-02 05:33:42 +00:00