summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-11-14 22:33:56 -0800
committerVinson Lee <[email protected]>2013-11-14 22:36:26 -0800
commit78fc159d68becdf4c04d35e3d21917ae45b839ba (patch)
treeabff5a7f08b5f7d2f98a172b67627e84e5560ae5 /src
parentf7ce1d772d6eed6ca84b2f65612dbcc9b68a4658 (diff)
i965: Initialize schedule_node::delay.
Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
index befea0a787d..39a5266d1c2 100644
--- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
+++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
@@ -608,6 +608,7 @@ schedule_node::schedule_node(backend_instruction *inst,
this->parent_count = 0;
this->unblocked_time = 0;
this->cand_generation = 0;
+ this->delay = 0;
/* We can't measure Gen6 timings directly but expect them to be much
* closer to Gen7 than Gen4.