Home
last modified time | relevance | path

Searched refs:ShaderAttr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp309 const auto *ShaderAttr = FD->getAttr<HLSLShaderAttr>(); in setHLSLEntryAttributes() local
310 assert(ShaderAttr && "All entry functions must have a HLSLShaderAttr"); in setHLSLEntryAttributes()
313 ShaderAttr->ConvertShaderTypeToStr(ShaderAttr->getType())); in setHLSLEntryAttributes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp12543 const auto *ShaderAttr = FD->getAttr<HLSLShaderAttr>(); in CheckHLSLEntryPoint() local
12544 assert(ShaderAttr && "Entry point has no shader attribute"); in CheckHLSLEntryPoint()
12545 HLSLShaderAttr::ShaderType ST = ShaderAttr->getType(); in CheckHLSLEntryPoint()
12596 auto *ShaderAttr = EntryPoint->getAttr<HLSLShaderAttr>(); in CheckHLSLSemanticAnnotation() local
12597 assert(ShaderAttr && "Entry point has no shader attribute"); in CheckHLSLSemanticAnnotation()
12598 HLSLShaderAttr::ShaderType ST = ShaderAttr->getType(); in CheckHLSLSemanticAnnotation()