[PATCH] D123907: [HLSL] Add shader attribute
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 22:01:53 PDT 2022
MaskRay added inline comments.
================
Comment at: clang/test/SemaHLSL/shader_type_attr.hlsl:1
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -ast-dump -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -ast-dump -o - %s -DFAIL -verify
----------------
Add a file-level comment what this test is about
================
Comment at: clang/test/SemaHLSL/shader_type_attr.hlsl:64
+[shader("compute")]
+// CHECK:HLSLShaderAttr 0x{{[0-9a-fA-F]+}} <line:63:2, col:18> Compute
+int secondFn();
----------------
Add a space after `CHECK:`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123907/new/
https://reviews.llvm.org/D123907
More information about the cfe-commits
mailing list