================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits