i965: Move perf_debug and WARN_ONCE back to brw_context.h.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 26 Nov 2017 09:42:11 +0000 (01:42 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Nov 2017 23:23:16 +0000 (15:23 -0800)
commit3d68329a658dee58eb1b2f4af1cbf1f57257eb04
treee328672bb90e38fc5f36d62f81ba22cbe5c44e6d
parent07d396669400fc799543dd790583ebe77b71c3a8
i965: Move perf_debug and WARN_ONCE back to brw_context.h.

These were moved to src/intel/common/gen_debug.h, but they are not
common code.  They assume that brw_context or gl_context variables
exist, named brw or ctx.  That isn't remotely true outside of i965.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/common/gen_debug.h
src/mesa/drivers/dri/i965/brw_context.h