commit | ae32ef403e73fab61467811fc5218d6b3c59645f | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Aug 01 15:01:32 2023 +0000 |
committer | James Price <jrprice@google.com> | Tue Aug 01 15:01:32 2023 +0000 |
tree | 9e5c4024ce370d7af4fc2bbe4e11db35f88df4ae | |
parent | f461b17d088973db80b43249a38a1b97a0fcf42f [diff] [blame] |
[tint] Add subgroup builtin inputs Adds parsing and SPIR-V codegen for subgroup_invocation_id and subgroup_size. Bug: tint:2000 Change-Id: Idcb9e2011c8c6129c5a0e5f0564048c14f8625a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/143835 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/intrinsics.def b/src/tint/intrinsics.def index 05ecb45..0774687 100644 --- a/src/tint/intrinsics.def +++ b/src/tint/intrinsics.def
@@ -37,6 +37,8 @@ num_workgroups sample_index sample_mask + subgroup_invocation_id + subgroup_size __point_size }