diff options
author | Kenneth Graunke <[email protected]> | 2014-04-06 17:16:28 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-04-08 00:01:34 -0700 |
commit | 6bda3a526759f655cad62178b491264584119ae1 (patch) | |
tree | bcdbd7f33858f1185f53ecad6dd0547c317579a0 | |
parent | ee12a03805418d2dd9616a79d87541cc3ab9e0ea (diff) |
i965: Fix "SIMD16 unsupported" messages via KHR_debug.
Performance warnings are logged via KHR_debug in addition to when the
INTEL_DEBUG=perf environment variable is set. Without this, messages in
debug contexts would have "(null)" for the reason.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index ad9c1f5eb01..7eac9ad75b3 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -697,7 +697,7 @@ fs_visitor::no16(const char *format, ...) } else { simd16_unsupported = true; - if (INTEL_DEBUG & DEBUG_PERF) { + if (brw->perf_debug) { if (no16_msg) ralloc_vasprintf_append(&no16_msg, format, va); else |