anv: move brw_process_intel_debug_variable to happen early
authorTapani Pälli <tapani.palli@intel.com>
Tue, 29 Aug 2017 05:44:54 +0000 (08:44 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 12 Sep 2017 06:42:11 +0000 (09:42 +0300)
commita7ebb217449b1a4472d0e4232774bcbe69839e82
treef4e61ccb6e20f926610262f66c464ffa0a3cc5e4
parentd083bc1c4b162ae23495fd9236d5fba27c04075b
anv: move brw_process_intel_debug_variable to happen early

Currently anv_perf_warn call in anv_compute_heap_size does not ever
report a perf warning. Move debug variable read as the first thing
in case there will be other perf_warn calls added.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c