Lines Matching refs:reportError
38 static bool reportError(LLVMContext *Ctx, Twine Message, in reportError() function
78 return reportError(Ctx, "Invalid format for RootFlag Element"); in parseRootFlags()
83 return reportError(Ctx, "Invalid value for RootFlag"); in parseRootFlags()
92 return reportError(Ctx, "Invalid format for RootConstants Element"); in parseRootConstants()
103 return reportError(Ctx, "Invalid value for ShaderVisibility"); in parseRootConstants()
109 return reportError(Ctx, "Invalid value for ShaderRegister"); in parseRootConstants()
114 return reportError(Ctx, "Invalid value for RegisterSpace"); in parseRootConstants()
119 return reportError(Ctx, "Invalid value for Num32BitValues"); in parseRootConstants()
136 return reportError(Ctx, "Invalid format for Root Descriptor Element"); in parseRootDescriptors()
157 return reportError(Ctx, "Invalid value for ShaderVisibility"); in parseRootDescriptors()
163 return reportError(Ctx, "Invalid value for ShaderRegister"); in parseRootDescriptors()
168 return reportError(Ctx, "Invalid value for RegisterSpace"); in parseRootDescriptors()
179 return reportError(Ctx, "Invalid value for Root Descriptor Flags"); in parseRootDescriptors()
190 return reportError(Ctx, "Invalid format for Descriptor Range"); in parseDescriptorRange()
198 return reportError(Ctx, "Descriptor Range, first element is not a string."); in parseDescriptorRange()
210 return reportError(Ctx, "Invalid Descriptor Range type: " + *ElementText); in parseDescriptorRange()
215 return reportError(Ctx, "Invalid value for Number of Descriptor in Range"); in parseDescriptorRange()
220 return reportError(Ctx, "Invalid value for BaseShaderRegister"); in parseDescriptorRange()
225 return reportError(Ctx, "Invalid value for RegisterSpace"); in parseDescriptorRange()
230 return reportError(Ctx, in parseDescriptorRange()
236 return reportError(Ctx, "Invalid value for Descriptor Range Flags"); in parseDescriptorRange()
247 return reportError(Ctx, "Invalid format for Descriptor Table"); in parseDescriptorTable()
253 return reportError(Ctx, "Invalid value for ShaderVisibility"); in parseDescriptorTable()
262 return reportError(Ctx, "Missing Root Element Metadata Node."); in parseDescriptorTable()
275 return reportError(Ctx, "Invalid format for Static Sampler"); in parseStaticSampler()
281 return reportError(Ctx, "Invalid value for Filter"); in parseStaticSampler()
286 return reportError(Ctx, "Invalid value for AddressU"); in parseStaticSampler()
291 return reportError(Ctx, "Invalid value for AddressV"); in parseStaticSampler()
296 return reportError(Ctx, "Invalid value for AddressW"); in parseStaticSampler()
301 return reportError(Ctx, "Invalid value for MipLODBias"); in parseStaticSampler()
306 return reportError(Ctx, "Invalid value for MaxAnisotropy"); in parseStaticSampler()
311 return reportError(Ctx, "Invalid value for ComparisonFunc "); in parseStaticSampler()
316 return reportError(Ctx, "Invalid value for ComparisonFunc "); in parseStaticSampler()
321 return reportError(Ctx, "Invalid value for MinLOD"); in parseStaticSampler()
326 return reportError(Ctx, "Invalid value for MaxLOD"); in parseStaticSampler()
331 return reportError(Ctx, "Invalid value for ShaderRegister"); in parseStaticSampler()
336 return reportError(Ctx, "Invalid value for RegisterSpace"); in parseStaticSampler()
341 return reportError(Ctx, "Invalid value for ShaderVisibility"); in parseStaticSampler()
352 return reportError(Ctx, "Invalid format for Root Element"); in parseRootSignatureElement()
380 return reportError(Ctx, "Invalid Root Signature Element: " + *ElementText); in parseRootSignatureElement()
394 return reportError(Ctx, "Missing Root Element Metadata Node."); in parse()
533 reportError(Ctx, "Invalid Root Signature metadata - expected function, " in analyzeModule()
541 reportError( in analyzeModule()
549 reportError(Ctx, "First element of root signature is not a Value"); in analyzeModule()
555 reportError(Ctx, "First element of root signature is not a Function"); in analyzeModule()
562 reportError(Ctx, "Root Element mdnode is null."); in analyzeModule()
568 reportError(Ctx, "Root Element is not a metadata node."); in analyzeModule()
575 reportError(Ctx, "Invalid RSDefNode value, expected constant int"); in analyzeModule()