Mesa (master): i965: Actually initialize simd16_unsupported and no16_msg.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Mar 18 17:51:41 UTC 2014


Module: Mesa
Branch: master
Commit: dd2e5d3999e456c33dbc9a710e211a7bdbe3330f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd2e5d3999e456c33dbc9a710e211a7bdbe3330f

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 18 10:49:10 2014 -0700

i965: Actually initialize simd16_unsupported and no16_msg.

I meant to include this fixes in v3 of commit
de7ad2c88f4ec243c95eaed22c41d0e537912e01, but accidentally pushed a
previous version.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index a832268..ce6d3da 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -2950,6 +2950,8 @@ fs_visitor::fs_visitor(struct brw_context *brw,
    this->fp = fp;
    this->mem_ctx = ralloc_context(NULL);
    this->failed = false;
+   this->simd16_unsupported = false;
+   this->no16_msg = NULL;
    this->variable_ht = hash_table_ctor(0,
                                        hash_table_pointer_hash,
                                        hash_table_pointer_compare);




More information about the mesa-commit mailing list