projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e1a392
)
progs/gallium/unit: Move declaration before code.
author
Vinson Lee
<vlee@vmware.com>
Fri, 2 Apr 2010 05:29:23 +0000
(22:29 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 2 Apr 2010 05:29:23 +0000
(22:29 -0700)
Fixes SCons build.
progs/gallium/unit/u_half_test.c
patch
|
blob
|
history
diff --git
a/progs/gallium/unit/u_half_test.c
b/progs/gallium/unit/u_half_test.c
index 0486f731acd7fa0775f01e7565e137df44e9f8c2..9e3392e6d629a7b35be9b9a10ab62b88842180e8 100644
(file)
--- a/
progs/gallium/unit/u_half_test.c
+++ b/
progs/gallium/unit/u_half_test.c
@@
-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);