| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-03-19 | spirv: Assemble OpTypeRuntimeArray. | dan | |
| 2025-03-18 | spirv: require int8/int16 capabilities | Ali Cheraghi | |
| 2025-03-18 | spirv: packed struct init + field val access | Ali Cheraghi | |
| 2025-03-17 | spirv/target: arbitrary_precision_integers feature support | Ali Cheraghi | |
| 2025-03-17 | spirv: lower more types in assembler | Ali Cheraghi | |
| 2025-03-17 | target: split `addresses` and `physical_storage_buffer` features | Ali Cheraghi | |
| 2025-03-05 | Remove uses of deprecated callconv aliases | Linus Groh | |
| 2025-02-24 | spirv: get rid of function_types cache | Robin Voetter | |
| This deep hash map doesn't work | |||
| 2025-02-24 | spirv: replace some unreachables with compile errors | Ali Cheraghi | |
| 2025-02-18 | spirv: extend supported `c` constraint values | Ali Cheraghi | |
| 2025-02-18 | spirv: ziggify and remove unknown spirv features | Ali Cheraghi | |
| `OpCapability` and `OpExtension` now can also be emitted from inline assembly | |||
| 2025-02-18 | spirv: respect cpu features | Ali Cheraghi | |
| 2025-02-18 | spirv: cache more types & merge constructX functions | Ali Cheraghi | |
| 2025-01-16 | all: update to `std.builtin.Type.Pointer.Size` field renames | mlugg | |
| This was done by regex substitution with `sed`. I then manually went over the entire diff and fixed any incorrect changes. This diff also changes a lot of `callconv(.C)` to `callconv(.c)`, since my regex happened to also trigger here. I opted to leave these changes in, since they *are* a correct migration, even if they're not the one I was trying to do! | |||
| 2024-11-08 | spirv: assembler hacky constant placeholders | Robin Voetter | |
| 2024-11-08 | spirv: track global OpVariables properly in assembler | Robin Voetter | |
| Also cleans up the assembler a bit in general. | |||
| 2024-11-01 | spirv: Uniform/PushConstant variables | Ali Cheraghi | |
| - Rename GPU address spaces to match with SPIR-V spec. - Emit `Block` Decoration for Uniform/PushConstant variables. - Don't emit `OpTypeForwardPointer` for non-opencl targets. (there's still a false-positive about recursive structs) Signed-off-by: Ali Cheraghi <alichraghi@proton.me> | |||
| 2024-09-12 | Replace deprecated default initializations with decl literals | Linus Groh | |
| 2024-08-28 | std: update `std.builtin.Type` fields to follow naming conventions | mlugg | |
| The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938. | |||
| 2024-06-16 | spirv: add support for workItemId, workGroupId, workGroupSize | Robin Voetter | |
| 2024-06-10 | spirv: new vectorization helper | Robin Voetter | |
| The old vectorization helper (WipElementWise) was clunky and a bit annoying to use, and it wasn't really flexible enough. This introduces a new vectorization helper, which uses Temporary and Operation types to deduce a Vectorization to perform the operation in a reasonably efficient manner. It removes the outer loop required by WipElementWise so that implementations of AIR instructions are cleaner. This helps with sanity when we start to introduce support for composite integers. airShift, convertToDirect, convertToIndirect, and normalize are initially implemented using this new method. | |||
| 2024-04-06 | spirv: yeet cache | Robin Voetter | |
| 2024-04-06 | spirv: remove cache usage from assembler | Robin Voetter | |
| 2024-04-06 | spirv: remove cache usage for types | Robin Voetter | |
| 2024-04-06 | spirv: remove cache usage for constants | Robin Voetter | |
| 2024-04-06 | spirv: id range helper | Robin Voetter | |
| This allows us to more sanely allocate a continuous range of result-ids, and avoids a bunch of nasty casting code in a few places. Its currently not used very often, but will be useful in the future. | |||
| 2024-04-06 | spirv: implement `@mulWithOverflow` | Ali Chraghi | |
| 2024-04-06 | spirv: OpExtInstImport in assembler | Ali Chraghi | |
| 2024-04-06 | spirv: implement `@divFloor`, `@floor` and `@mod` | Ali Chraghi | |
| 2024-03-18 | spirv: make generic globals invocation-local | Robin Voetter | |
| 2024-03-18 | spirv: add zig-specific ext inst | Robin Voetter | |
| This may be removed again in the future... | |||
| 2024-03-18 | spirv: make IdResult an enum | Robin Voetter | |
| 2024-03-18 | spirv: update assembler with new spec | Robin Voetter | |
| 2024-03-18 | spirv: update spec to SPIRV-Headers/8b246ff | Robin Voetter | |
| We need this "unstable" version to get the Zig identifiers. | |||
| 2024-03-11 | std.builtin: make container layout fields lowercase | Tristan Ross | |
| 2024-02-15 | spirv: add capability to compile with x86_64 backend | Ali Chraghi | |
| 2024-02-15 | spirv: use extended instructions whenever possible | Ali Chraghi | |
| 2024-02-09 | spirv: make rusticl the primary testing implementation | Ali Chraghi | |
| 2024-02-05 | spirv: support enum integer values in Assembler | Ali Chraghi | |
| 2024-02-05 | spirv: emit vectors whenever we can | Ali Chraghi | |
| 2024-02-05 | spirv: basic shader support | Ali Chraghi | |
| 2023-11-24 | spirv: structured control flow | Robin Voetter | |
| 2023-11-24 | spirv: always emit mask constants even if no bits are set | Robin Voetter | |
| A parameter like this is not always optional, even if that is usually implied. SPIR-V tools fail to parse a module with an OpLoopMerge instruction where the loop control parameter is left out. | |||
| 2023-11-24 | spirv: fix memory leak in SpvModule | Robin Voetter | |
| 2023-10-23 | Revert "Revert "Merge pull request #17657 from Snektron/spirv-recursive-ptrs"" | Robin Voetter | |
| This reverts commit 9f0359d78f9facc38418e32b0e8c1bf6f99f0d26 in an attempt to make the tests pass again. The CI failure from that merge should be unrelated to this commit. | |||
| 2023-10-22 | Revert "Merge pull request #17657 from Snektron/spirv-recursive-ptrs" | Andrew Kelley | |
| This reverts commit b822e841cda0adabe3fec260ff51c18508f7ee32, reversing changes made to 0c99ba1eab63865592bb084feb271cd4e4b0357e. This caused a CI failure when it landed in master branch. | |||
| 2023-10-21 | spirv: self-referential pointers via new fwd_ptr_type | Robin Voetter | |
| Its a little ugly but it works. | |||
| 2023-10-15 | spirv: work around OpSource parsing issue in llvm-spirv | Robin Voetter | |
| The Khronos SPIRV-LLVM translator does not parse OpSource correctly. This was causing tests to fail and other mysterious issues. These are resolved by only generating a single OpSource instruction for now, which does not have the source file locations also. See https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2188 | |||
| 2023-10-15 | spirv: air bitcast for non-numeric non-pointer types | Robin Voetter | |
| 2023-10-15 | spirv: use CacheString for source_file_names instead of []const u8 | Robin Voetter | |
