Mesa (master): intel/common/icl: Disable hiz surface sampling

Matt Turner mattst88 at kemper.freedesktop.org
Thu Mar 22 16:57:28 UTC 2018


Module: Mesa
Branch: master
Commit: f05e0d9c2a5f5a26e0678b40fff17086098dc405
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f05e0d9c2a5f5a26e0678b40fff17086098dc405

Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri Feb 16 13:44:10 2018 -0800

intel/common/icl: Disable hiz surface sampling

On gen11+ AUX_HIZ is not a supported value for surfaces being
sampled by the 3D sampler.

Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/intel/dev/gen_device_info.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index 3365bdd4dd..9e684b78a0 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -823,6 +823,7 @@ static const struct gen_device_info gen_device_info_cnl_5x8 = {
    GEN11_HW_INFO,                                     \
    .has_64bit_types = false,                          \
    .has_integer_dword_mul = false,                    \
+   .has_sample_with_hiz = false,                      \
    .gt = _gt, .num_slices = _slices, .l3_banks = _l3, \
    .num_subslices = _subslices
 




More information about the mesa-commit mailing list