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

13 lines
291 B
HLSL
Raw Normal View History

struct frexp_result_f32 {
float fract;
int exp;
};
[numthreads(1, 1, 1)]
void main() {
const frexp_result_f32 tint_symbol_1 = {0.625f, 1};
const float fract = tint_symbol_1.fract;
const frexp_result_f32 tint_symbol_2 = {0.625f, 1};
const int exp = tint_symbol_2.exp;
return;
}