summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/sb/sb_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_shader.h b/src/gallium/drivers/r600/sb/sb_shader.h
index ca9d29eb808..040dbf46667 100644
--- a/src/gallium/drivers/r600/sb/sb_shader.h
+++ b/src/gallium/drivers/r600/sb/sb_shader.h
@@ -113,7 +113,7 @@ typedef std::vector<ra_chunk*> chunk_vector;
class ra_constraint {
public:
- ra_constraint(constraint_kind kind) : kind(kind) {}
+ ra_constraint(constraint_kind kind) : kind(kind), cost(0) {}
constraint_kind kind;
vvec values;