intel/blorp: Add an "enabled" bit to surface_info
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 8 Oct 2016 00:17:05 +0000 (17:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 14 Oct 2016 22:39:41 +0000 (15:39 -0700)
commit81be7be11960e3edb6968fd5c8d9475f234aae48
treee61481d5098ab998ef4a9a8206ebf09f7e3cdff3
parentbc4bb5a7e302569f593882feabff1379b640022a
intel/blorp: Add an "enabled" bit to surface_info

This gives a slightly smarter way to check whether or not a particular
surface exists than looking at the address.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/blorp/blorp.c
src/intel/blorp/blorp_genX_exec.h
src/intel/blorp/blorp_priv.h