dawn-cmake/test/intrinsics/gen/select/ebfea2.wgsl.expected.hlsl

26 lines
455 B
HLSL
Raw Normal View History

struct tint_symbol {
float4 value : SV_Position;
};
void select_ebfea2() {
float3 res = (bool3(false, false, false) ? float3(0.0f, 0.0f, 0.0f) : float3(0.0f, 0.0f, 0.0f));
}
tint_symbol vertex_main() {
select_ebfea2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
return tint_symbol_1;
}
void fragment_main() {
select_ebfea2();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
select_ebfea2();
return;
}