dawn-cmake/test/builtins/gen/select/c41bd1.wgsl.expected.hlsl
Ben Clayton b85e692aa7 Rename 'intrinsic' to 'builtin'
This matches the term used in the WGSL spec.

Change-Id: I4603332b828450c126ef806f1064ed54f372013f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78787
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-02-02 23:07:11 +00:00

31 lines
591 B
HLSL

void select_c41bd1() {
bool4 res = (false ? bool4(false, false, false, false) : bool4(false, false, false, false));
}
struct tint_symbol {
float4 value : SV_Position;
};
float4 vertex_main_inner() {
select_c41bd1();
return float4(0.0f, 0.0f, 0.0f, 0.0f);
}
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() {
select_c41bd1();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
select_c41bd1();
return;
}