================ @@ -0,0 +1,104 @@ +// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -o - -fsyntax-only %s -verify + +// TODO: Implement "Buffer" +struct Eg1 { + float f; + // Buffer<float> Buf; ---------------- bob80905 wrote:
Yes, it is intentional. The commented-out examples cannot be run in any valuable sense, without some prerequisite implementation of types that are not yet implemented. For example, after `Buffer` is implemented, or after `Texture2D` is implemented, we can better test the diagnostic infrastructure. We don't have any resources that can bind to the `t` register type yet, so tests are necessarily quite limited. https://github.com/llvm/llvm-project/pull/97103 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits