github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff HEAD~1 HEAD --extensions cpp -- clang/lib/Driver/ToolChains/HLSL.cpp llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Driver/ToolChains/HLSL.cpp b/clang/lib/Driver/ToolChains/HLSL.cpp index 48761c254..04942e659 100644 --- a/clang/lib/Driver/ToolChains/HLSL.cpp +++ b/clang/lib/Driver/ToolChains/HLSL.cpp @@ -177,35 +177,23 @@ std::string getSpirvExtOperand(llvm::StringRef SpvExtensionArg) { // The extensions that are commented out are supported in DXC, but the SPIR-V // backend does not know about them yet. static const std::vector<std::string> DxcSupportedExtensions = { - "SPV_KHR_16bit_storage", - "SPV_KHR_device_group", - "SPV_KHR_fragment_shading_rate", - "SPV_KHR_multiview", - "SPV_KHR_post_depth_coverage", - "SPV_KHR_non_semantic_info", - "SPV_KHR_shader_draw_parameters", - "SPV_KHR_ray_tracing", - "SPV_KHR_shader_clock", - "SPV_EXT_demote_to_helper_invocation", - "SPV_EXT_descriptor_indexing", - "SPV_EXT_fragment_fully_covered", + "SPV_KHR_16bit_storage", "SPV_KHR_device_group", + "SPV_KHR_fragment_shading_rate", "SPV_KHR_multiview", + "SPV_KHR_post_depth_coverage", "SPV_KHR_non_semantic_info", + "SPV_KHR_shader_draw_parameters", "SPV_KHR_ray_tracing", + "SPV_KHR_shader_clock", "SPV_EXT_demote_to_helper_invocation", + "SPV_EXT_descriptor_indexing", "SPV_EXT_fragment_fully_covered", "SPV_EXT_fragment_invocation_density", - "SPV_EXT_fragment_shader_interlock", - "SPV_EXT_mesh_shader", - "SPV_EXT_shader_stencil_export", - "SPV_EXT_shader_viewport_index_layer", + "SPV_EXT_fragment_shader_interlock", "SPV_EXT_mesh_shader", + "SPV_EXT_shader_stencil_export", "SPV_EXT_shader_viewport_index_layer", // "SPV_AMD_shader_early_and_late_fragment_tests", - "SPV_GOOGLE_hlsl_functionality1", - "SPV_GOOGLE_user_type", - "SPV_KHR_ray_query", - "SPV_EXT_shader_image_int64", - "SPV_KHR_fragment_shader_barycentric", - "SPV_KHR_physical_storage_buffer", + "SPV_GOOGLE_hlsl_functionality1", "SPV_GOOGLE_user_type", + "SPV_KHR_ray_query", "SPV_EXT_shader_image_int64", + "SPV_KHR_fragment_shader_barycentric", "SPV_KHR_physical_storage_buffer", "SPV_KHR_vulkan_memory_model", // "SPV_KHR_compute_shader_derivatives", // "SPV_KHR_maximal_reconvergence", - "SPV_KHR_float_controls", - "SPV_NV_shader_subgroup_partitioned", + "SPV_KHR_float_controls", "SPV_NV_shader_subgroup_partitioned", // "SPV_KHR_quad_control" }; `````````` </details> https://github.com/llvm/llvm-project/pull/151554 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits