Lines Matching full:shader
189 if (const auto *Shader = FD->getAttr<HLSLShaderAttr>()) { in ActOnTopLevelFunction() local
192 if (Shader->getType() != Env) { in ActOnTopLevelFunction()
193 Diag(Shader->getLocation(), diag::err_hlsl_entry_shader_attr_mismatch) in ActOnTopLevelFunction()
194 << Shader; in ActOnTopLevelFunction()
198 // Implicitly add the shader attribute if the entry function isn't in ActOnTopLevelFunction()
216 assert(ShaderAttr && "Entry point has no shader attribute"); in CheckEntryPoint()
271 assert(ShaderAttr && "Entry point has no shader attribute"); in CheckSemanticAnnotation()
374 << AL << "shader constant in a constant buffer"; in handlePackOffsetAttr()
433 // FIXME: check function match the shader stage. in handleShaderAttr()
547 /// unavailable API is found in code that is reachable from the shader
548 /// entry function or from an exported function (when compiling a shader
551 /// This is done by traversing the AST of all shader entry point functions
565 // Maps FunctionDecl to an unsigned number that represents the set of shader
567 // The llvm::Triple::EnvironmentType enum values for shader stages guaranteed
574 // in shader environment whose llvm::Triple::EnvironmentType integer value
593 // shader stage context, and therefore we should not report issues that
594 // depend only on shader model version because they would be duplicate.
623 // Helper methods for dealing with shader stage bitmap
697 // Iterate over all shader entry functions and library exports, and for those in RunOnTranslationUnit()
699 // shader environment context based on whether it is a shader entry function in RunOnTranslationUnit()
724 // shader entry point in RunOnTranslationUnit()
814 // Check availability against target shader model version and current shader
824 // on shader model version and not on specific the shader stage. in CheckDeclAvailability()
833 // Do not report shader-stage-independent issues if scanning a function in CheckDeclAvailability()
834 // that was already scanned in a different shader stage context (they would in CheckDeclAvailability()
886 // strict (-fhlsl-strict-availability) and the target shader stage is known in DiagnoseAvailabilityViolations()