progs/gallium/unit: Move declaration before code.

Fixes SCons build.
This commit is contained in:
Vinson Lee 2010-04-01 22:29:23 -07:00
parent 3e1a3923f4
commit 36ed9a7f13
1 changed files with 2 additions and 1 deletions

View File

@ -14,8 +14,9 @@ main(int argc, char **argv)
{
half h = (half) i;
union fi f;
half rh;
f.ui = util_half_to_floatui(h);
half rh = util_floatui_to_half(f.ui);
rh = util_floatui_to_half(f.ui);
if(h != rh)
{
printf("Roundtrip failed: %x -> %x = %f -> %x\n", h, f.ui, f.f, rh);