.must_use_separate_stencil = true, \
.has_llc = true, \
.has_pln = true, \
+ .has_64bit_types = true, \
.has_surface_tile_offset = true, \
.timestamp_frequency = 12500000
.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, \
#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
ctx->Extensions.ARB_derivative_control = true;
ctx->Extensions.ARB_framebuffer_no_attachments = true;
ctx->Extensions.ARB_gpu_shader5 = true;
- ctx->Extensions.ARB_gpu_shader_fp64 = true;
+ ctx->Extensions.ARB_gpu_shader_fp64 = devinfo->has_64bit_types;
ctx->Extensions.ARB_shader_atomic_counters = true;
ctx->Extensions.ARB_shader_atomic_counter_ops = true;
ctx->Extensions.ARB_shader_clock = true;
ctx->Extensions.ARB_texture_compression_bptc = true;
ctx->Extensions.ARB_texture_view = true;
ctx->Extensions.ARB_shader_storage_buffer_object = true;
- ctx->Extensions.ARB_vertex_attrib_64bit = true;
+ ctx->Extensions.ARB_vertex_attrib_64bit = devinfo->has_64bit_types;
ctx->Extensions.EXT_shader_samples_identical = true;
ctx->Extensions.OES_primitive_bounding_box = true;
ctx->Extensions.OES_texture_buffer = true;
}
if (devinfo->gen >= 8) {
- ctx->Extensions.ARB_gpu_shader_int64 = true;
- ctx->Extensions.ARB_shader_ballot = true; /* requires ARB_gpu_shader_int64 */
+ ctx->Extensions.ARB_gpu_shader_int64 = devinfo->has_64bit_types;
+ /* requires ARB_gpu_shader_int64 */
+ ctx->Extensions.ARB_shader_ballot = devinfo->has_64bit_types;
ctx->Extensions.ARB_ES3_2_compatibility = true;
}