[PATCH] D131625: [HLSL] Entry functions require param annotation
Chris Bieneman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 23 18:06:19 PDT 2022
beanz added inline comments.
================
Comment at: clang/test/SemaHLSL/Semantics/missing_entry_annotation.hlsl:1
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -fsyntax-only -hlsl-entry main -verify %s
+
----------------
aaron.ballman wrote:
> That's not needed, right?
It shouldn't be but is because hlsl is missing from `FrontendOptions::getInputKindForExtension`. I'll get a patch up for that shortly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131625/new/
https://reviews.llvm.org/D131625
More information about the cfe-commits
mailing list