Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/spirv.c:
else
{
/* Nan -- preserve sign and significand bits */
return s | 0x7f800000u | (m << 13);
}
- }
- /* Normalized number */
- e += 127u - 15u;
- m <<= 13;
- /* Assemble s, e and m. */
- return s | (e << 23) | m;
+}
+static uint32_t convert_raw_constant32(struct spirv_compiler *compiler,
Parameter `compiler` seems useless here.