================
@@ -6885,14 +6885,18 @@ class HLSLAttributedResourceType : public Type, public
llvm::FoldingSetNode {
LLVM_PREFERRED_TYPE(bool)
uint8_t IsMultiSampled : 1;
+ /// The N in Texture2DMS<T, N>; null for every other resource.
+ Expr *SampleCountExpr;
----------------
bogner wrote:
Do we still need `IsMultiSampled` if we have `SampleCountExpr`? Can we get away
with inferring the boolean from the presence of the expression?
https://github.com/llvm/llvm-project/pull/211972
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits