From: Tom Stellard <[email protected]>
---
src/gallium/drivers/radeon/SIGenRegisterInfo.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/radeon/SIGenRegisterInfo.pl
b/src/gallium/drivers/radeon/SIGenRegisterInfo.pl
index 3813eb5..48bd567 100644
--- a/src/gallium/drivers/radeon/SIGenRegisterInfo.pl
+++ b/src/gallium/drivers/radeon/SIGenRegisterInfo.pl
@@ -241,7 +241,7 @@ if ($INDEX_FILE ne '') {
}
print $fh " return $key;\n";
}
- print $fh " default: return 0;\n }\n}\n"
+ print $fh " default: assert(!\"Unknown Register\"); return 0;\n }\n}\n"
}
--
1.7.3.4
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev