i965/fs: Add missing initializer in fs_visitor().
authorMatt Turner <mattst88@gmail.com>
Mon, 11 May 2015 17:46:59 +0000 (10:46 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 11 May 2015 18:25:03 +0000 (11:25 -0700)
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp

index 80ca1b750f8d9dd802a15ef76e563f878a064f1c..78f269ef97330730c66c834c84f69a439150c036 100644 (file)
@@ -4193,7 +4193,7 @@ fs_visitor::fs_visitor(struct brw_context *brw,
      reg_null_d(retype(brw_null_vec(dispatch_width), BRW_REGISTER_TYPE_D)),
      reg_null_ud(retype(brw_null_vec(dispatch_width), BRW_REGISTER_TYPE_UD)),
      key(key), prog_data(&prog_data->base),
-     dispatch_width(dispatch_width)
+     dispatch_width(dispatch_width), promoted_constants(0)
 {
    this->mem_ctx = mem_ctx;
    init();