[clang] [llvm] [DirectX] Removing dxbc StaticSampler from mcbxdc (PR #154631)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 18:03:22 PDT 2025


================
@@ -228,6 +228,16 @@ enum class SamplerFilter : uint32_t {
 #include "DXContainerConstants.def"
 };
 
+#define FILTER(Val, Enum)                                                      \
+  case Val:                                                                    \
+    return true;
+inline bool isValidSamplerFilter(uint32_t V) {
----------------
inbelic wrote:

nit: I think this file is included in many places. Just want to make sure we are cognizant that these functions are defined directly in the header. The other corresponding `getSampleFilter` only declares the function here and I think that is probably better

https://github.com/llvm/llvm-project/pull/154631


More information about the llvm-commits mailing list