dawn-cmake/test/intrinsics/gen/clamp/2bde41.wgsl.expected.hlsl

25 lines
469 B
HLSL
Raw Normal View History

void clamp_2bde41() {
float4 res = clamp(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
struct tint_symbol {
float4 value : SV_Position;
};
tint_symbol vertex_main() {
clamp_2bde41();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
return tint_symbol_1;
}
void fragment_main() {
clamp_2bde41();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
clamp_2bde41();
return;
}