summaryrefslogtreecommitdiffstats
path: root/src/intel/common
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-12-11 13:59:13 -0800
committerMatt Turner <[email protected]>2018-02-28 11:15:47 -0800
commitbb428454a9d70e5f5984269e6c4a7f5d6e2871d9 (patch)
treebef11c4a30d7d2726677cfe9cd6e04e7ccdf0995 /src/intel/common
parent5e42103f3be5cfaaa374442e009c101403c143bd (diff)
intel: Disable 64-bit extensions on platforms without 64-bit types
Gen11 does not support DF, Q, UQ types in hardware. As a result, we have to disable some GL extensions until they can be reimplemented. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/common')
-rw-r--r--src/intel/common/gen_device_info.c3
-rw-r--r--src/intel/common/gen_device_info.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/common/gen_device_info.c b/src/intel/common/gen_device_info.c
index 11a4480ebf1..7bed806b369 100644
--- a/src/intel/common/gen_device_info.c
+++ b/src/intel/common/gen_device_info.c
@@ -197,6 +197,7 @@ static const struct gen_device_info gen_device_info_snb_gt2 = {
.must_use_separate_stencil = true, \
.has_llc = true, \
.has_pln = true, \
+ .has_64bit_types = true, \
.has_surface_tile_offset = true, \
.timestamp_frequency = 12500000
@@ -381,6 +382,7 @@ static const struct gen_device_info gen_device_info_hsw_gt3 = {
.has_llc = true, \
.has_sample_with_hiz = false, \
.has_pln = true, \
+ .has_64bit_types = true, \
.supports_simd16_3src = true, \
.has_surface_tile_offset = true, \
.max_vs_threads = 504, \
@@ -815,6 +817,7 @@ static const struct gen_device_info gen_device_info_cnl_5x8 = {
#define GEN11_FEATURES(_gt, _slices, _subslices, _l3) \
GEN8_FEATURES, \
GEN11_HW_INFO, \
+ .has_64bit_types = false, \
.gt = _gt, .num_slices = _slices, .l3_banks = _l3, \
.num_subslices = _subslices
diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h
index 3e9c087f58c..9b635ff178f 100644
--- a/src/intel/common/gen_device_info.h
+++ b/src/intel/common/gen_device_info.h
@@ -59,6 +59,7 @@ struct gen_device_info
bool has_llc;
bool has_pln;
+ bool has_64bit_types;
bool has_compr4;
bool has_surface_tile_offset;
bool supports_simd16_3src;