[Mlir-commits] [mlir] 24cdae1 - [mlir][spirv] Format a define. NFC.
Jakub Kuderski
llvmlistbot at llvm.org
Mon Sep 26 11:54:18 PDT 2022
Author: Jakub Kuderski
Date: 2022-09-26T14:53:29-04:00
New Revision: 24cdae11ed2e16eb77d570e3c01c8f410adb85e6
URL: https://github.com/llvm/llvm-project/commit/24cdae11ed2e16eb77d570e3c01c8f410adb85e6
DIFF: https://github.com/llvm/llvm-project/commit/24cdae11ed2e16eb77d570e3c01c8f410adb85e6.diff
LOG: [mlir][spirv] Format a define. NFC.
Added:
Modified:
mlir/lib/Dialect/SPIRV/IR/SPIRVEnums.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/SPIRV/IR/SPIRVEnums.cpp b/mlir/lib/Dialect/SPIRV/IR/SPIRVEnums.cpp
index 40b2553be657..a9b97c212394 100644
--- a/mlir/lib/Dialect/SPIRV/IR/SPIRVEnums.cpp
+++ b/mlir/lib/Dialect/SPIRV/IR/SPIRVEnums.cpp
@@ -36,23 +36,22 @@ ArrayRef<spirv::Extension> spirv::getImpliedExtensions(spirv::Version version) {
// Note: the following lists are from "Appendix A: Changes" of the spec.
#define V_1_3_IMPLIED_EXTS \
- Extension::SPV_KHR_shader_draw_parameters, \
- Extension::SPV_KHR_16bit_storage, Extension::SPV_KHR_device_group, \
- Extension::SPV_KHR_multiview, \
- Extension::SPV_KHR_storage_buffer_storage_class, \
+ Extension::SPV_KHR_shader_draw_parameters, Extension::SPV_KHR_16bit_storage, \
+ Extension::SPV_KHR_device_group, Extension::SPV_KHR_multiview, \
+ Extension::SPV_KHR_storage_buffer_storage_class, \
Extension::SPV_KHR_variable_pointers
#define V_1_4_IMPLIED_EXTS \
- Extension::SPV_KHR_no_integer_wrap_decoration, \
- Extension::SPV_GOOGLE_decorate_string, \
- Extension::SPV_GOOGLE_hlsl_functionality1, \
+ Extension::SPV_KHR_no_integer_wrap_decoration, \
+ Extension::SPV_GOOGLE_decorate_string, \
+ Extension::SPV_GOOGLE_hlsl_functionality1, \
Extension::SPV_KHR_float_controls
#define V_1_5_IMPLIED_EXTS \
- Extension::SPV_KHR_8bit_storage, Extension::SPV_EXT_descriptor_indexing, \
- Extension::SPV_EXT_shader_viewport_index_layer, \
- Extension::SPV_EXT_physical_storage_buffer, \
- Extension::SPV_KHR_physical_storage_buffer, \
+ Extension::SPV_KHR_8bit_storage, Extension::SPV_EXT_descriptor_indexing, \
+ Extension::SPV_EXT_shader_viewport_index_layer, \
+ Extension::SPV_EXT_physical_storage_buffer, \
+ Extension::SPV_KHR_physical_storage_buffer, \
Extension::SPV_KHR_vulkan_memory_model
switch (version) {
More information about the Mlir-commits
mailing list