193 Commits
Author SHA1 Message Date
CharlieDoesStuff 8d028a3e8a Fix SPIRV-Headers alias guard in sirit CMakeLists 2026-04-10 18:03:50 +01:00
liamwhite ab75463999 Merge pull request #1 from bylaws/master
Add OpGroupNonUniformElect, OpGroupNonUniformBroadcastFirst
2023-01-05 15:15:34 -05:00
Billy Laws 86a720d2cf Add OpGroupNonUniformElect, OpGroupNonUniformBroadcastFirst 2023-01-05 19:10:39 +00:00
Liam d7ad93a888 Add OpDemoteToHelperInvocation, OpTerminateInvocation 2022-11-23 22:43:28 -03:00
Billy Laws 661499f6ec Add OpGroupNonUniformShuffle subgroup op 2022-11-23 22:42:49 -03:00
Billy Laws da4ffce189 Add OpGroupNonUniformBroadcast subgroup op 2022-10-22 17:06:10 -03:00
Alexandre Bouvier aa292d5665 cmake: Support using system SPIRV-Headers 2022-05-14 15:59:52 -03:00
voidanix b8f133bf63 Include <utility> header for gcc 12 2022-04-28 15:43:21 -03:00
Lioncash 8cfe8badf7 sirit: Add TypeSInt/TypeUInt helpers
Provides shorthands for specific signedness, so that usage code doesn't
need to explicitly use raw booleans.

TypeUInt(32), is easier to gloss than TypeInt(32, false), especially for
those not familiar with the API.
2021-07-27 22:11:21 -03:00
Lioncash a39596358a sirit: Remove unnecessary std::move in OpLabel
std::move on a std::string_view doesn't do anything a regular copy
wouldn't.
2021-04-17 01:22:43 -03:00
Lioncash dc20d93ee6 sirit: substraction -> subtraction typo 2021-04-17 01:22:31 -03:00
Lioncash 6db9b43998 sirit: Resolve -Wdocumentation warnings
Amends some -Wdocumentation warnings with clang.
2021-04-17 01:22:31 -03:00
FernandoS27 a3d7754e9f Add Derivatives Instructions. 2021-04-17 01:22:09 -03:00
ReinUsesLisp da093a04fe Add OpEmitStreamVertex and OpEndStreamPrimitive 2021-04-12 03:55:25 -03:00
ReinUsesLisp dc47faf89f Use std::nullopt when possible 2021-04-11 02:04:17 -03:00
ReinUsesLisp 51d541f1a1 Remove forward references and add phi node patching
The previous API for forward declarations broke when more than one
definition was done. Forward references on instructions that are not
labels were only needed for phi nodes, so it has been replaced with a
deferred phi node instruction and a method to patch these after
everything has been defined.
2021-04-11 02:02:43 -03:00
ReinUsesLisp f1cccfd0f3 Add OpUnreachable 2021-03-29 16:10:15 -03:00
ReinUsesLisp 84fab90024 Add OpFunctionParameter 2021-03-28 18:52:32 -03:00
ReinUsesLisp 0ef6e807ab Add DemoteToHelperInvocation support 2021-03-19 18:46:11 -03:00
ReinUsesLisp 4b1ff612c4 Add support for sparse texture instructions 2021-03-08 18:31:00 -03:00
ReinUsesLisp f6a7130486 Add support for self-referencing phi nodes 2021-02-24 18:30:10 -03:00
ReinUsesLisp 9a08dab7ee Update SPIRV-Headers 2021-02-20 03:22:09 -03:00
ReinUsesLisp 20d75babd0 Assert when an OpId has an invalid result type 2021-02-19 15:42:25 -03:00
ReinUsesLisp 200310e8fa Assert operand's id is not zero 2021-02-15 23:00:12 -03:00
ReinUsesLisp f819ade0ef Add support for forward declarations 2021-02-14 22:45:31 -03:00