Searched refs:ShaderAttr (Results 1 – 2 of 2) sorted by relevance
309 const auto *ShaderAttr = FD->getAttr<HLSLShaderAttr>(); in setHLSLEntryAttributes() local310 assert(ShaderAttr && "All entry functions must have a HLSLShaderAttr"); in setHLSLEntryAttributes()313 ShaderAttr->ConvertShaderTypeToStr(ShaderAttr->getType())); in setHLSLEntryAttributes()
12543 const auto *ShaderAttr = FD->getAttr<HLSLShaderAttr>(); in CheckHLSLEntryPoint() local12544 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() local12597 assert(ShaderAttr && "Entry point has no shader attribute"); in CheckHLSLSemanticAnnotation()12598 HLSLShaderAttr::ShaderType ST = ShaderAttr->getType(); in CheckHLSLSemanticAnnotation()