dawn-cmake/test/intrinsics/gen/select/00b848.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
428 B
HLSL

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