intel/common/icl: Add has_sample_with_hiz flag in gen_device_info
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 14 Feb 2018 22:30:27 +0000 (14:30 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 00:14:56 +0000 (16:14 -0800)
commitba3cbee6c56a31ca1513f9c2b205f2c0174d9e60
tree8ff00cd07e7026d9dcb43f7aacb9f49fc61c6e7c
parent9c144dc81e11658c868867052d14d60cca55a641
intel/common/icl: Add has_sample_with_hiz flag in gen_device_info

Sampling from hiz is enabled in i965 for GEN9+ but this feature has
been removed from gen11. So, this new flag will be useful to turn
the feature on/off for different gen h/w. It will be used later
in a patch adding device info for gen11.

Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/common/gen_device_info.c
src/intel/common/gen_device_info.h
src/mesa/drivers/dri/i965/intel_mipmap_tree.c