dawn-cmake/test/tint/builtins/gen/firstTrailingBit
Ben Clayton df3630c194 builtins: Add firstTrailingBit
Currently polyfilled for all backends.
HLSL should be able to map this to 'firstbitlow', but there might need
to be some special case handling for 0 (undocumented behavior). For now
just polyfill.

CTS tests: https://github.com/gpuweb/cts/pull/1003

Bug: tint:1367
Bug: tint:1449
Change-Id: I8125b32687196678906e5a9d056b4f2efd885073
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/81502
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-02-23 14:32:14 +00:00
..
3a2acc.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
3a2acc.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
3a2acc.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
3a2acc.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
3a2acc.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
3a2acc.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
45eb10.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
45eb10.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
45eb10.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
45eb10.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
45eb10.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
45eb10.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
47d475.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
47d475.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
47d475.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
47d475.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
47d475.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
47d475.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
50c072.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
50c072.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
50c072.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
50c072.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
50c072.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
50c072.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
110f2c.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
110f2c.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
110f2c.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
110f2c.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
110f2c.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
110f2c.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
7496d6.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
7496d6.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
7496d6.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
7496d6.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
7496d6.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
7496d6.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
86551b.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
86551b.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
86551b.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
86551b.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
86551b.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
86551b.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
cb51ce.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
cb51ce.wgsl.expected.glsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
cb51ce.wgsl.expected.hlsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
cb51ce.wgsl.expected.msl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
cb51ce.wgsl.expected.spvasm builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
cb51ce.wgsl.expected.wgsl builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00