isl: Add a null surface fill function.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Aug 2017 07:17:05 +0000 (00:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Aug 2017 07:46:36 +0000 (00:46 -0700)
commit5db9757bd76ce920b302974ca107802c6a6fbba9
treeceabadf2e8bb0ba29e7fa626c4d7271c9be2d8bc
parent288621b1b7bdfaeab58a3b720c58c3417b206a06
isl: Add a null surface fill function.

ISL already offers functions to fill out most kinds of SURFACE_STATE,
so why not handle null surfaces too?

Null surfaces are simple, so we can just take the dimensions, rather
than an entirte fill structure.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/isl.c
src/intel/isl/isl.h
src/intel/isl/isl_genX_priv.h
src/intel/isl/isl_surface_state.c