dawn-cmake/test/tint/builtins/modf/scalar/const_members.wgsl.expected...

13 lines
302 B
HLSL
Raw Normal View History

struct modf_result_f32 {
float fract;
float whole;
};
[numthreads(1, 1, 1)]
void main() {
const modf_result_f32 tint_symbol_1 = {0.25f, 1.0f};
const float fract = tint_symbol_1.fract;
const modf_result_f32 tint_symbol_2 = {0.25f, 1.0f};
const float whole = tint_symbol_2.whole;
return;
}