mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 06:35:54 +00:00
Bug: tint:1581 Change-Id: I33c87ced173938bcd16e00debdd5c6682b4a9426 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107763 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
31 lines
537 B
HLSL
31 lines
537 B
HLSL
void firstLeadingBit_3fd7d0() {
|
|
uint3 res = (0u).xxx;
|
|
}
|
|
|
|
struct tint_symbol {
|
|
float4 value : SV_Position;
|
|
};
|
|
|
|
float4 vertex_main_inner() {
|
|
firstLeadingBit_3fd7d0();
|
|
return (0.0f).xxxx;
|
|
}
|
|
|
|
tint_symbol vertex_main() {
|
|
const float4 inner_result = vertex_main_inner();
|
|
tint_symbol wrapper_result = (tint_symbol)0;
|
|
wrapper_result.value = inner_result;
|
|
return wrapper_result;
|
|
}
|
|
|
|
void fragment_main() {
|
|
firstLeadingBit_3fd7d0();
|
|
return;
|
|
}
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void compute_main() {
|
|
firstLeadingBit_3fd7d0();
|
|
return;
|
|
}
|