[llvm-branch-commits] [llvm] [DirectX] Adding missing descriptor table validations (PR #153276)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 29 20:48:54 PDT 2025
================
@@ -11,8 +11,9 @@ attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
!dx.rootsignatures = !{!2} ; list of function/root signature pairs
!2 = !{ ptr @main, !3, i32 2 } ; function, root signature
-!3 = !{ !5 } ; list of root signature elements
-!5 = !{ !"DescriptorTable", i32 0, !6, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20 }
+!3 = !{ !5, !21 } ; list of root signature elements
+!5 = !{ !"DescriptorTable", i32 0, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20 }
+!21 = !{ !"DescriptorTable", i32 0,!6, !8, !9 }
----------------
joaosaffran wrote:
This refactor is necessary, because this test was mixing samplers and non samplers in a single descriptor table, which is not allowed
https://github.com/llvm/llvm-project/pull/153276
More information about the llvm-branch-commits
mailing list