[all-commits] [llvm/llvm-project] 889b2d: [HLSL] Adds diagnostics for missing/ambiguous shad...

Dan Brown via All-commits all-commits at lists.llvm.org
Wed Jul 15 11:40:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 889b2d651a530952339e4992a2b5a891c7dd0af0
      https://github.com/llvm/llvm-project/commit/889b2d651a530952339e4992a2b5a891c7dd0af0
  Author: Dan Brown <61992655+danbrown-amd at users.noreply.github.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/HLSLControlFlowHint.hlsl
    M clang/test/AST/HLSL/matrix-alias.hlsl
    M clang/test/AST/HLSL/matrix-constructors.hlsl
    M clang/test/AST/HLSL/matrix-elementexpr-tree-transform.hlsl
    M clang/test/AST/HLSL/matrix-general-initializer.hlsl
    M clang/test/AST/HLSL/matrix-member-access-scalar.hlsl
    M clang/test/AST/HLSL/matrix-member-access-swizzle.hlsl
    M clang/test/AST/HLSL/resources-in-structs-errors.hlsl
    M clang/test/AST/HLSL/resources-in-structs.hlsl
    M clang/test/AST/HLSL/vector-alias.hlsl
    M clang/test/AST/HLSL/vector-constructors.hlsl
    M clang/test/AST/HLSL/vk.spec-constant.usage.hlsl
    M clang/test/CodeGenHLSL/BasicFeatures/frem_modulo.hlsl
    M clang/test/CodeGenHLSL/builtins/AllMemoryBarrier.hlsl
    M clang/test/CodeGenHLSL/builtins/AllMemoryBarrierWithGroupSync.hlsl
    M clang/test/CodeGenHLSL/builtins/DeviceMemoryBarrier.hlsl
    M clang/test/CodeGenHLSL/builtins/DeviceMemoryBarrierWithGroupSync.hlsl
    M clang/test/CodeGenHLSL/builtins/GroupMemoryBarrier.hlsl
    M clang/test/CodeGenHLSL/builtins/GroupMemoryBarrierWithGroupSync.hlsl
    M clang/test/CodeGenHLSL/builtins/InterlockedAdd.hlsl
    M clang/test/CodeGenHLSL/builtins/InterlockedOr.hlsl
    M clang/test/CodeGenHLSL/builtins/QuadReadAcrossDiagonal.hlsl
    M clang/test/CodeGenHLSL/builtins/QuadReadAcrossX.hlsl
    M clang/test/CodeGenHLSL/builtins/QuadReadAcrossY.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveAllEqual.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveAllTrue.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveAnyTrue.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveBallot.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveBitAnd.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveBitXor.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveCountBits.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveMax.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveMin.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveProduct.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveActiveSum.hlsl
    M clang/test/CodeGenHLSL/builtins/WavePrefixCountBits.hlsl
    M clang/test/CodeGenHLSL/builtins/WavePrefixProduct.hlsl
    M clang/test/CodeGenHLSL/builtins/WavePrefixSum.hlsl
    M clang/test/CodeGenHLSL/builtins/WaveReadLaneAt.hlsl
    M clang/test/CodeGenHLSL/builtins/acos-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/acos.hlsl
    M clang/test/CodeGenHLSL/builtins/all.hlsl
    M clang/test/CodeGenHLSL/builtins/any.hlsl
    M clang/test/CodeGenHLSL/builtins/asdouble.hlsl
    M clang/test/CodeGenHLSL/builtins/asin-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/asin.hlsl
    M clang/test/CodeGenHLSL/builtins/atan-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/atan.hlsl
    M clang/test/CodeGenHLSL/builtins/atan2-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/atan2-overloads_mat.hlsl
    M clang/test/CodeGenHLSL/builtins/atan2.hlsl
    M clang/test/CodeGenHLSL/builtins/atan2_mat.hlsl
    M clang/test/CodeGenHLSL/builtins/clamp-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/clamp.hlsl
    M clang/test/CodeGenHLSL/builtins/clip.hlsl
    M clang/test/CodeGenHLSL/builtins/cosh-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/cosh.hlsl
    M clang/test/CodeGenHLSL/builtins/cross.hlsl
    M clang/test/CodeGenHLSL/builtins/ddx-coarse-builtin.hlsl
    M clang/test/CodeGenHLSL/builtins/ddx-coarse.hlsl
    M clang/test/CodeGenHLSL/builtins/ddx-fine-builtin.hlsl
    M clang/test/CodeGenHLSL/builtins/ddx-fine.hlsl
    M clang/test/CodeGenHLSL/builtins/ddx.hlsl
    M clang/test/CodeGenHLSL/builtins/ddy-coarse-builtin.hlsl
    M clang/test/CodeGenHLSL/builtins/ddy-coarse.hlsl
    M clang/test/CodeGenHLSL/builtins/ddy-fine-builtin.hlsl
    M clang/test/CodeGenHLSL/builtins/ddy-fine.hlsl
    M clang/test/CodeGenHLSL/builtins/ddy.hlsl
    M clang/test/CodeGenHLSL/builtins/degrees-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/degrees.hlsl
    M clang/test/CodeGenHLSL/builtins/distance.hlsl
    M clang/test/CodeGenHLSL/builtins/dot.hlsl
    M clang/test/CodeGenHLSL/builtins/dot2add.hlsl
    M clang/test/CodeGenHLSL/builtins/f16tof32-builtin.hlsl
    M clang/test/CodeGenHLSL/builtins/f16tof32.hlsl
    M clang/test/CodeGenHLSL/builtins/f32tof16-builtin.hlsl
    M clang/test/CodeGenHLSL/builtins/f32tof16.hlsl
    M clang/test/CodeGenHLSL/builtins/faceforward.hlsl
    M clang/test/CodeGenHLSL/builtins/firstbithigh.hlsl
    M clang/test/CodeGenHLSL/builtins/firstbitlow.hlsl
    M clang/test/CodeGenHLSL/builtins/fma.hlsl
    M clang/test/CodeGenHLSL/builtins/fmod.hlsl
    M clang/test/CodeGenHLSL/builtins/frac-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/frac.hlsl
    M clang/test/CodeGenHLSL/builtins/isinf-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/isinf.hlsl
    M clang/test/CodeGenHLSL/builtins/isnan.hlsl
    M clang/test/CodeGenHLSL/builtins/length.hlsl
    M clang/test/CodeGenHLSL/builtins/lerp-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/lerp.hlsl
    M clang/test/CodeGenHLSL/builtins/mad.hlsl
    M clang/test/CodeGenHLSL/builtins/normalize-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/normalize.hlsl
    M clang/test/CodeGenHLSL/builtins/radians-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/radians.hlsl
    M clang/test/CodeGenHLSL/builtins/rcp.hlsl
    M clang/test/CodeGenHLSL/builtins/reflect.hlsl
    M clang/test/CodeGenHLSL/builtins/refract.hlsl
    M clang/test/CodeGenHLSL/builtins/rsqrt-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
    M clang/test/CodeGenHLSL/builtins/sign.hlsl
    M clang/test/CodeGenHLSL/builtins/sinh.hlsl
    M clang/test/CodeGenHLSL/builtins/smoothstep.hlsl
    M clang/test/CodeGenHLSL/builtins/step-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/step.hlsl
    M clang/test/CodeGenHLSL/builtins/tan-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/tan.hlsl
    M clang/test/CodeGenHLSL/builtins/tanh-overloads.hlsl
    M clang/test/CodeGenHLSL/builtins/tanh.hlsl
    M clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl
    M clang/test/CodeGenHLSL/resources/Textures-Mips.hlsl
    M clang/test/CodeGenHLSL/resources/cbuffer_geps.hlsl
    M clang/test/CodeGenHLSL/semantics/semantic.explicit-mix-builtin.vs.hlsl
    M clang/test/Driver/dxc_hlsl-rootsig-ver.hlsl
    M clang/test/ParserHLSL/access_specifiers.hlsl
    M clang/test/ParserHLSL/hlsl_contained_type_attr.hlsl
    M clang/test/ParserHLSL/hlsl_contained_type_attr_error.hlsl
    M clang/test/ParserHLSL/hlsl_is_array_attr.hlsl
    M clang/test/ParserHLSL/hlsl_is_array_attr_error.hlsl
    M clang/test/ParserHLSL/hlsl_is_rov_attr.hlsl
    M clang/test/ParserHLSL/hlsl_is_rov_attr_error.hlsl
    M clang/test/ParserHLSL/hlsl_raw_buffer_attr.hlsl
    M clang/test/ParserHLSL/hlsl_raw_buffer_attr_error.hlsl
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_class_attr_error.hlsl
    M clang/test/ParserHLSL/hlsl_resource_dimension_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_dimension_attr_error.hlsl
    M clang/test/ParserHLSL/semantic_parsing.hlsl
    M clang/test/ParserHLSL/semantic_parsing_define.hlsl
    M clang/test/SemaHLSL/Availability/attr-deprecated.hlsl
    M clang/test/SemaHLSL/BuiltIns/binary-compat-overload-warnings.hlsl
    M clang/test/SemaHLSL/BuiltIns/fma-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/matrix-constructors-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/ternary-compat-overload-warnings.hlsl
    M clang/test/SemaHLSL/BuiltIns/unary-compat-overload-warnings.hlsl
    M clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl
    M clang/test/SemaHLSL/BuiltIns/vector-constructors-errors.hlsl
    M clang/test/SemaHLSL/Language/InitIncompleteArrays.hlsl
    M clang/test/SemaHLSL/Language/InitLists.hlsl
    M clang/test/SemaHLSL/Language/NoVirtual.hlsl
    M clang/test/SemaHLSL/Language/OutputParameters.hlsl
    M clang/test/SemaHLSL/Language/TemplateOutArg.hlsl
    M clang/test/SemaHLSL/Resources/ConstantBuffers.hlsl
    M clang/test/SemaHLSL/Semantics/semantic.explicit-mix-builtin-vs.hlsl
    M clang/test/SemaHLSL/Semantics/semantic.explicit-mix-location-2.hlsl
    M clang/test/SemaHLSL/Semantics/semantic.explicit-mix-location.hlsl
    M clang/test/SemaHLSL/Semantics/valid_entry_parameter.hlsl
    M clang/test/SemaHLSL/Semantics/vertexid.vs.hlsl
    M clang/test/SemaHLSL/Types/short-errors.hlsl
    M clang/test/SemaHLSL/entry_shader.hlsl
    M clang/test/SemaHLSL/num_threads.hlsl
    M clang/test/SemaHLSL/prohibit_reference.hlsl
    M clang/test/SemaHLSL/vk.spec-constant.error.hlsl

  Log Message:
  -----------
  [HLSL] Adds diagnostics for missing/ambiguous shader entry function. (#184892)

Addresses #119260.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list