[clang] [HLSL] Add ByteAddressBuffer definition to HLSLExternalSemaSource #113477 (PR #116699)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 10:20:13 PST 2024


================
@@ -0,0 +1,41 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY %s | FileCheck -check-prefix=EMPTY %s
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump %s | FileCheck %s
+
----------------
hekota wrote:

FYI, we are planning to refactor the resource buffer AST tests, see here: https://github.com/llvm/llvm-project/pull/113643#discussion_r1833370629

Maybe there could be a single AST test with multiple run lines that would tests all of the raw buffer combinations using defines and different check-prefixes. Do you want to update this test to be ready for adding the next raw buffer variants or wait until the next buffer class is added?

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


More information about the cfe-commits mailing list