i965: Use ISL for emitting null surface states.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Aug 2017 07:44:41 +0000 (00:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Aug 2017 07:46:46 +0000 (00:46 -0700)
commit5ae983c85b8af7553223c1d3b07199ebb181d0d3
tree1ff3257814a1024bb04bca1cc71f044fc6bcbb7e
parent5db9757bd76ce920b302974ca107802c6a6fbba9
i965: Use ISL for emitting null surface states.

We handle the Sandybridge multisampled 2D surface hack here, rather
than in ISL, because it requires allocating a BO, and is kind of messy.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c [deleted file]
src/mesa/drivers/dri/i965/gen8_surface_state.c [deleted file]