aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sb
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-02-06 17:43:29 +0100
committerMarek Olšák <[email protected]>2014-02-06 17:43:29 +0100
commit559af1df10e1390a49ff7b5ed37b4d44a0fcc9cb (patch)
tree06ac17025d91845537c7357fb3e0cad75baf05be /src/gallium/drivers/r600/sb
parentc32114460dbb7f33885c181a0d7dee07b15b8751 (diff)
gallium/radeon: fix warnings
Diffstat (limited to 'src/gallium/drivers/r600/sb')
-rw-r--r--src/gallium/drivers/r600/sb/sb_bc_finalize.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
index 54717f98a15..99a20eb00c8 100644
--- a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
+++ b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
@@ -814,6 +814,8 @@ unsigned bc_finalizer::get_stack_depth(node *n, unsigned &loops,
if (has_non_wqm_push)
++stack_elements;
break;
+ case HW_CLASS_UNKNOWN:
+ assert(0);
}
return stack_elements;
}