36 lines
589 B
HLSL
36 lines
589 B
HLSL
|
struct modf_result {
|
||
|
float fract;
|
||
|
float whole;
|
||
|
};
|
||
|
modf_result tint_modf(float param_0) {
|
||
|
float whole;
|
||
|
float fract = modf(param_0, whole);
|
||
|
modf_result result = {fract, whole};
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
void modf_684d46() {
|
||
|
modf_result res = tint_modf(1.0f);
|
||
|
}
|
||
|
|
||
|
struct tint_symbol {
|
||
|
float4 value : SV_Position;
|
||
|
};
|
||
|
|
||
|
tint_symbol vertex_main() {
|
||
|
modf_684d46();
|
||
|
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||
|
return tint_symbol_1;
|
||
|
}
|
||
|
|
||
|
void fragment_main() {
|
||
|
modf_684d46();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
[numthreads(1, 1, 1)]
|
||
|
void compute_main() {
|
||
|
modf_684d46();
|
||
|
return;
|
||
|
}
|