[Mesa-dev] [PATCH] i965: Initialize schedule_node::delay.
Vinson Lee
vlee at freedesktop.org
Sun Nov 3 14:56:39 PST 2013
Fixes "Uninitialized scalar field" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
index 5dcd0e8..2833e20 100644
--- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
+++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
@@ -69,6 +69,7 @@ public:
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.
--
1.8.3.2
More information about the mesa-dev
mailing list