From 4fa1709eaf2275cbd0aab4cde6eb5668eb716d12 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 22 Aug 2024 12:14:13 -0400 Subject: [PATCH] asahi/clc: drop caps list I'll use whatever caps I dang well please. Signed-off-by: Alyssa Rosenzweig Acked-by: Caio Oliveira Part-of: --- src/asahi/clc/asahi_clc.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/src/asahi/clc/asahi_clc.c b/src/asahi/clc/asahi_clc.c index 98ea951bfc2..532546b4b57 100644 --- a/src/asahi/clc/asahi_clc.c +++ b/src/asahi/clc/asahi_clc.c @@ -27,40 +27,8 @@ #include "util/u_math.h" #include -static const struct spirv_capabilities spirv_caps = { - .Addresses = true, - .Float16 = true, - .Float64 = true, - .Groups = true, - .StorageImageWriteWithoutFormat = true, - .Int8 = true, - .Int16 = true, - .Int64 = true, - .Int64Atomics = true, - .Kernel = true, - .Linkage = true, /* We receive linked kernel from clc */ - .DenormFlushToZero = true, - .DenormPreserve = true, - .SignedZeroInfNanPreserve = true, - .RoundingModeRTE = true, - .RoundingModeRTZ = true, - .GenericPointer = true, - .GroupNonUniform = true, - .GroupNonUniformArithmetic = true, - .GroupNonUniformClustered = true, - .GroupNonUniformBallot = true, - .GroupNonUniformQuad = true, - .GroupNonUniformShuffle = true, - .GroupNonUniformVote = true, - .SubgroupDispatch = true, - - .SubgroupShuffleINTEL = true, - .SubgroupBufferBlockIOINTEL = true, -}; - static const struct spirv_to_nir_options spirv_options = { .environment = NIR_SPIRV_OPENCL, - .capabilities = &spirv_caps, .shared_addr_format = nir_address_format_62bit_generic, .global_addr_format = nir_address_format_62bit_generic, .temp_addr_format = nir_address_format_62bit_generic,