From 5a5d44b71307085f56cb8511fe154ebfdfd42831 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Tue, 22 Jan 2019 11:26:03 +0100 Subject: [PATCH] anv/pipeline: support Float16 and Int8 SPIR-V capabilities in gen8+ v2: - Merge Float16 and Int8 capabilities into a single patch (Jason) - Merged patch that enabled SPIR-V front-end checks for these caps (except for Int8, which was already merged) v3: - Keep capabilities sorted (Jason) v4: - SpvCapabilityFloat16 support already added in master (Juan) Reviewed-by: Jason Ekstrand (v1) --- src/intel/vulkan/anv_pipeline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index b0fef540e45..e403b07500e 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -140,9 +140,11 @@ anv_shader_compile_to_nir(struct anv_device *device, .derivative_group = true, .device_group = true, .draw_parameters = true, + .float16 = pdevice->info.gen >= 8, .float64 = pdevice->info.gen >= 8, .geometry_streams = true, .image_write_without_format = true, + .int8 = pdevice->info.gen >= 8, .int16 = pdevice->info.gen >= 8, .int64 = pdevice->info.gen >= 8, .min_lod = true, -- 2.30.2