anv: Emit cherryview SF state without including gen9_pack.h
authorKristian H. Kristensen <hoegsberg@gmail.com>
Tue, 29 Nov 2016 01:15:14 +0000 (17:15 -0800)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Wed, 30 Nov 2016 06:02:49 +0000 (22:02 -0800)
commit3b6b6f6463019f4c765d8e8a5b37a530f489bf5a
tree7f780546b409efbb230d254d02d8f55e94169743
parent908febcf214f0db8ec29f559644a2c26007235e9
anv: Emit cherryview SF state without including gen9_pack.h

Cleaner this way and we avoid including gen9_pack.h when we compile with
gen8_pack.h. We also avoid the if (cherryview) condition for non-gen8
gens that don't need it.

Signed-off-by: Kristian H. Kristensen <hoegsberg@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/gen8_cmd_buffer.c