[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 19:00:02 PDT 2025
================
@@ -40,6 +41,12 @@ LLVM_ABI bool verifyMaxAnisotropy(uint32_t MaxAnisotropy);
LLVM_ABI bool verifyComparisonFunc(uint32_t ComparisonFunc);
LLVM_ABI bool verifyBorderColor(uint32_t BorderColor);
LLVM_ABI bool verifyLOD(float LOD);
+LLVM_ABI bool verifyRegisterOverflow(uint64_t Register,
+ uint32_t NumDescriptors);
+LLVM_ABI uint64_t updateAppendingRegister(uint64_t AppendingRegisterRegister,
----------------
joaosaffran wrote:
This function contain important logic to make sure the previous 2 validations work properly, so I added it in here, so it can be reused in the frontend.
https://github.com/llvm/llvm-project/pull/153276
More information about the llvm-branch-commits
mailing list