2022-11-23 10:39:48 +00:00
|
|
|
struct modf_result {
|
|
|
|
float fract;
|
|
|
|
float whole;
|
|
|
|
};
|
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main() {
|
2022-11-23 15:00:20 +00:00
|
|
|
const modf_result tint_symbol_1 = {0.25f, 1.0f};
|
2022-11-23 10:39:48 +00:00
|
|
|
const float fract = tint_symbol_1.fract;
|
2022-11-23 15:00:20 +00:00
|
|
|
const modf_result tint_symbol_2 = {0.25f, 1.0f};
|
2022-11-23 10:39:48 +00:00
|
|
|
const float whole = tint_symbol_2.whole;
|
|
|
|
return;
|
|
|
|
}
|