intel/eu: Rework surface descriptor helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 29 Oct 2018 21:09:30 +0000 (16:09 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 29 Jan 2019 18:43:55 +0000 (18:43 +0000)
commitba3c5300f9f375c483a7c35724ebe69f797665e3
tree2b9b2d8b19d7c39054fb3afb4beb66c0ac288fa7
parent5b17379631fe845c6520864696a8429cfbffaac3
intel/eu: Rework surface descriptor helpers

This commit pulls the surface descriptor helpers out into brw_eu.h and
makes them no longer depend on the codegen infrastructure.  This should
allow us to use them directly from the IR code instead of the generator.
This change is unfortunately less mechanical than perhaps one would like
but it should be fairly straightforward.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_eu_emit.c