dawn-cmake/test/tint/builtins/gen/firstLeadingBit
Ben Clayton 8169693136 builtins: Add firstLeadingBit
Currently polyfilled for all backends.
HLSL should be able to map this to 'firstbithigh', 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/1004

Bug: tint:1367
Bug: tint:1449
Change-Id: I9c9a08ea93d1c4a602e0ab763e95e2eea336fb0d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/81503
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-02-23 18:20:30 +00:00
..
000ff3.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
000ff3.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
000ff3.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
000ff3.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
000ff3.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
000ff3.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
3fd7d0.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
3fd7d0.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
3fd7d0.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
3fd7d0.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
3fd7d0.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
3fd7d0.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
6fe804.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
6fe804.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
6fe804.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
6fe804.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
6fe804.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
6fe804.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
57a1a3.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
57a1a3.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
57a1a3.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
57a1a3.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
57a1a3.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
57a1a3.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
35053e.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
35053e.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
35053e.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
35053e.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
35053e.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
35053e.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
a622c2.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
a622c2.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
a622c2.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
a622c2.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
a622c2.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
a622c2.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
c1f940.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
c1f940.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
c1f940.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
c1f940.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
c1f940.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
c1f940.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
f0779d.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
f0779d.wgsl.expected.glsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
f0779d.wgsl.expected.hlsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
f0779d.wgsl.expected.msl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
f0779d.wgsl.expected.spvasm builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
f0779d.wgsl.expected.wgsl builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00