================ @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o - %s | FileCheck %s + + +// CHECK: -HLSLTextureDimensionAttr 0x{{[0-9a-f]+}} <col:34> 1 +struct [[hlsl::texture_dimension(1)]] Eg1 { ---------------- python3kgae wrote:
Should we limit this attribute for Texture only? https://github.com/llvm/llvm-project/pull/104239 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits