dawn-cmake/test/intrinsics/gen/select/80a9a9.wgsl.expected.hlsl
Ben Clayton 2d9ba5d8ad writer/hlsl: Implement select()
Fixed: tint:304
Change-Id: I8821bc6e4bfa0487161b8d915a6a107afd474105
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53389
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-06-07 19:17:34 +00:00

26 lines
498 B
HLSL

struct tint_symbol {
float4 value : SV_Position;
};
void select_80a9a9() {
vector<bool, 3> res = (vector<bool, 3>(false, false, false) ? vector<bool, 3>(false, false, false) : vector<bool, 3>(false, false, false));
}
tint_symbol vertex_main() {
select_80a9a9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
return tint_symbol_1;
}
void fragment_main() {
select_80a9a9();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
select_80a9a9();
return;
}