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

25 lines
383 B
HLSL
Raw Normal View History

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