intel/eu: Add some brw_get_default_ helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 May 2018 21:50:46 +0000 (14:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Jun 2018 21:03:03 +0000 (14:03 -0700)
commit381fac274054784e4cbd152168653aecb9f1e5dd
treeb9e2b83f57c5f6e10ea24b0ba354b0c6be1509f0
parentdb38c3b4ba1f9a452b7d16969cd2d3fac46aa45b
intel/eu: Add some brw_get_default_ helpers

This is much cleaner than everything that wants a default value poking
at the bits of p->current directly.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu.c
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_fs_generator.cpp