Home
last modified time | relevance | path

Searched refs:spv_result_t (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/third_party/spirv-tools/source/val/
Dvalidate.h44 spv_result_t PerformCfgChecks(ValidationState_t& _);
54 spv_result_t UpdateIdUse(ValidationState_t& _, const Instruction* inst);
66 spv_result_t CheckIdDefinitionDominateUse(ValidationState_t& _);
78 spv_result_t ValidateAdjacency(ValidationState_t& _);
88 spv_result_t ValidateInterfaces(ValidationState_t& _);
94 spv_result_t MemoryPass(ValidationState_t& _, const Instruction* inst);
115 spv_result_t ModuleLayoutPass(ValidationState_t& _, const Instruction* inst);
118 spv_result_t CfgPass(ValidationState_t& _, const Instruction* inst);
121 spv_result_t ControlFlowPass(ValidationState_t& _, const Instruction* inst);
124 spv_result_t IdPass(ValidationState_t& _, Instruction* inst);
[all …]
Dvalidate_builtins.cpp60 spv_result_t GetUnderlyingType(ValidationState_t& _, in GetUnderlyingType()
253 spv_result_t Run();
258 spv_result_t ValidateBuiltInsAtDefinition();
263 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration,
271 spv_result_t ValidateClipOrCullDistanceAtDefinition(
273 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration,
275 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration,
277 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration,
279 spv_result_t ValidateHelperInvocationAtDefinition(
281 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration,
[all …]
Dvalidate_instruction.cpp93 spv_result_t OperandVersionExtensionCheck( in OperandVersionExtensionCheck()
143 spv_result_t CheckRequiredCapabilities(ValidationState_t& state, in CheckRequiredCapabilities()
220 spv_result_t ReservedCheck(ValidationState_t& _, const Instruction* inst) { in ReservedCheck()
243 spv_result_t CapabilityCheck(ValidationState_t& _, const Instruction* inst) { in CapabilityCheck()
259 spv_result_t status = in CapabilityCheck()
270 spv_result_t status = in CapabilityCheck()
281 spv_result_t VersionCheck(ValidationState_t& _, const Instruction* inst) { in VersionCheck()
284 const spv_result_t r = _.grammar().lookupOpcode(opcode, &inst_desc); in VersionCheck()
349 spv_result_t LimitCheckIdBound(ValidationState_t& _, const Instruction* inst) { in LimitCheckIdBound()
359 spv_result_t LimitCheckStruct(ValidationState_t& _, const Instruction* inst) { in LimitCheckStruct()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate.h44 spv_result_t PerformCfgChecks(ValidationState_t& _);
54 spv_result_t UpdateIdUse(ValidationState_t& _, const Instruction* inst);
66 spv_result_t CheckIdDefinitionDominateUse(ValidationState_t& _);
78 spv_result_t ValidateAdjacency(ValidationState_t& _);
88 spv_result_t ValidateInterfaces(ValidationState_t& _);
94 spv_result_t MemoryPass(ValidationState_t& _, const Instruction* inst);
115 spv_result_t ModuleLayoutPass(ValidationState_t& _, const Instruction* inst);
118 spv_result_t CfgPass(ValidationState_t& _, const Instruction* inst);
121 spv_result_t ControlFlowPass(ValidationState_t& _, const Instruction* inst);
124 spv_result_t IdPass(ValidationState_t& _, Instruction* inst);
[all …]
Dvalidate_builtins.cpp60 spv_result_t GetUnderlyingType(ValidationState_t& _, in GetUnderlyingType()
249 spv_result_t Run();
254 spv_result_t ValidateBuiltInsAtDefinition();
259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration,
267 spv_result_t ValidateClipOrCullDistanceAtDefinition(
269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration,
271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration,
273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration,
275 spv_result_t ValidateHelperInvocationAtDefinition(
277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration,
[all …]
Dvalidate_instruction.cpp93 spv_result_t OperandVersionExtensionCheck( in OperandVersionExtensionCheck()
143 spv_result_t CheckRequiredCapabilities(ValidationState_t& state, in CheckRequiredCapabilities()
220 spv_result_t ReservedCheck(ValidationState_t& _, const Instruction* inst) { in ReservedCheck()
243 spv_result_t CapabilityCheck(ValidationState_t& _, const Instruction* inst) { in CapabilityCheck()
259 spv_result_t status = in CapabilityCheck()
270 spv_result_t status = in CapabilityCheck()
281 spv_result_t VersionCheck(ValidationState_t& _, const Instruction* inst) { in VersionCheck()
284 const spv_result_t r = _.grammar().lookupOpcode(opcode, &inst_desc); in VersionCheck()
349 spv_result_t LimitCheckIdBound(ValidationState_t& _, const Instruction* inst) { in LimitCheckIdBound()
359 spv_result_t LimitCheckStruct(ValidationState_t& _, const Instruction* inst) { in LimitCheckStruct()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate.h44 spv_result_t PerformCfgChecks(ValidationState_t& _);
54 spv_result_t UpdateIdUse(ValidationState_t& _, const Instruction* inst);
66 spv_result_t CheckIdDefinitionDominateUse(ValidationState_t& _);
78 spv_result_t ValidateAdjacency(ValidationState_t& _);
88 spv_result_t ValidateInterfaces(ValidationState_t& _);
94 spv_result_t MemoryPass(ValidationState_t& _, const Instruction* inst);
115 spv_result_t ModuleLayoutPass(ValidationState_t& _, const Instruction* inst);
118 spv_result_t CfgPass(ValidationState_t& _, const Instruction* inst);
121 spv_result_t ControlFlowPass(ValidationState_t& _, const Instruction* inst);
124 spv_result_t IdPass(ValidationState_t& _, Instruction* inst);
[all …]
Dvalidate_builtins.cpp60 spv_result_t GetUnderlyingType(ValidationState_t& _, in GetUnderlyingType()
249 spv_result_t Run();
254 spv_result_t ValidateBuiltInsAtDefinition();
259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration,
267 spv_result_t ValidateClipOrCullDistanceAtDefinition(
269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration,
271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration,
273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration,
275 spv_result_t ValidateHelperInvocationAtDefinition(
277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration,
[all …]
Dvalidate_instruction.cpp93 spv_result_t OperandVersionExtensionCheck( in OperandVersionExtensionCheck()
143 spv_result_t CheckRequiredCapabilities(ValidationState_t& state, in CheckRequiredCapabilities()
220 spv_result_t ReservedCheck(ValidationState_t& _, const Instruction* inst) { in ReservedCheck()
243 spv_result_t CapabilityCheck(ValidationState_t& _, const Instruction* inst) { in CapabilityCheck()
259 spv_result_t status = in CapabilityCheck()
270 spv_result_t status = in CapabilityCheck()
281 spv_result_t VersionCheck(ValidationState_t& _, const Instruction* inst) { in VersionCheck()
284 const spv_result_t r = _.grammar().lookupOpcode(opcode, &inst_desc); in VersionCheck()
349 spv_result_t LimitCheckIdBound(ValidationState_t& _, const Instruction* inst) { in LimitCheckIdBound()
359 spv_result_t LimitCheckStruct(ValidationState_t& _, const Instruction* inst) { in LimitCheckStruct()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dassembly_grammar.h50 spv_result_t lookupOpcode(const char* name, spv_opcode_desc* desc) const;
55 spv_result_t lookupOpcode(SpvOp opcode, spv_opcode_desc* desc) const;
60 spv_result_t lookupOperand(spv_operand_type_t type, const char* name,
66 spv_result_t lookupOperand(spv_operand_type_t type, uint32_t operand,
85 spv_result_t lookupSpecConstantOpcode(const char* name, SpvOp* opcode) const;
89 spv_result_t lookupSpecConstantOpcode(SpvOp opcode) const;
100 spv_result_t parseMaskOperand(const spv_operand_type_t type,
106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
112 spv_result_t lookupExtInst(spv_ext_inst_type_t type, uint32_t firstWord,
Dtext_handler.h141 spv_result_t advance();
145 spv_result_t getWord(std::string* word, spv_position next_position);
157 DiagnosticStream diagnostic(spv_result_t error) { in diagnostic()
187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
201 spv_result_t binaryEncodeNumericLiteral(const char* numeric_literal,
202 spv_result_t error_code,
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
225 spv_result_t recordTypeIdForValue(uint32_t value, uint32_t type);
229 spv_result_t recordIdAsExtInstImport(uint32_t id, spv_ext_inst_type_t type);
Dassembly_grammar.cpp43 spv_result_t spvTextParseMaskOperand(spv_target_env env, in spvTextParseMaskOperand()
192 spv_result_t AssemblyGrammar::lookupOpcode(const char* name, in lookupOpcode()
197 spv_result_t AssemblyGrammar::lookupOpcode(SpvOp opcode, in lookupOpcode()
202 spv_result_t AssemblyGrammar::lookupOperand(spv_operand_type_t type, in lookupOperand()
209 spv_result_t AssemblyGrammar::lookupOperand(spv_operand_type_t type, in lookupOperand()
216 spv_result_t AssemblyGrammar::lookupSpecConstantOpcode(const char* name, in lookupSpecConstantOpcode()
229 spv_result_t AssemblyGrammar::lookupSpecConstantOpcode(SpvOp opcode) const { in lookupSpecConstantOpcode()
240 spv_result_t AssemblyGrammar::parseMaskOperand(const spv_operand_type_t type, in parseMaskOperand()
246 spv_result_t AssemblyGrammar::lookupExtInst(spv_ext_inst_type_t type, in lookupExtInst()
252 spv_result_t AssemblyGrammar::lookupExtInst(spv_ext_inst_type_t type, in lookupExtInst()
Dtext_handler.cpp38 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine()
62 spv_result_t advance(spv_text text, spv_position position) { in advance()
69 if (spv_result_t error = advanceLine(text, position)) return error; in advance()
94 spv_result_t getWord(spv_text text, spv_position position, std::string* word) { in getWord()
188 spv_result_t AssemblyContext::advance() { in advance()
192 spv_result_t AssemblyContext::getWord(std::string* word, in getWord()
234 spv_result_t AssemblyContext::binaryEncodeU32(const uint32_t value, in binaryEncodeU32()
240 spv_result_t AssemblyContext::binaryEncodeNumericLiteral( in binaryEncodeNumericLiteral()
241 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
297 spv_result_t AssemblyContext::binaryEncodeString(const char* value, in binaryEncodeString()
[all …]
/third_party/spirv-tools/source/
Dassembly_grammar.h50 spv_result_t lookupOpcode(const char* name, spv_opcode_desc* desc) const;
55 spv_result_t lookupOpcode(SpvOp opcode, spv_opcode_desc* desc) const;
60 spv_result_t lookupOperand(spv_operand_type_t type, const char* name,
66 spv_result_t lookupOperand(spv_operand_type_t type, uint32_t operand,
85 spv_result_t lookupSpecConstantOpcode(const char* name, SpvOp* opcode) const;
89 spv_result_t lookupSpecConstantOpcode(SpvOp opcode) const;
100 spv_result_t parseMaskOperand(const spv_operand_type_t type,
106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
112 spv_result_t lookupExtInst(spv_ext_inst_type_t type, uint32_t firstWord,
Dtext_handler.h141 spv_result_t advance();
145 spv_result_t getWord(std::string* word, spv_position next_position);
157 DiagnosticStream diagnostic(spv_result_t error) { in diagnostic()
187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
201 spv_result_t binaryEncodeNumericLiteral(const char* numeric_literal,
202 spv_result_t error_code,
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
225 spv_result_t recordTypeIdForValue(uint32_t value, uint32_t type);
229 spv_result_t recordIdAsExtInstImport(uint32_t id, spv_ext_inst_type_t type);
Dassembly_grammar.cpp43 spv_result_t spvTextParseMaskOperand(spv_target_env env, in spvTextParseMaskOperand()
192 spv_result_t AssemblyGrammar::lookupOpcode(const char* name, in lookupOpcode()
197 spv_result_t AssemblyGrammar::lookupOpcode(SpvOp opcode, in lookupOpcode()
202 spv_result_t AssemblyGrammar::lookupOperand(spv_operand_type_t type, in lookupOperand()
209 spv_result_t AssemblyGrammar::lookupOperand(spv_operand_type_t type, in lookupOperand()
216 spv_result_t AssemblyGrammar::lookupSpecConstantOpcode(const char* name, in lookupSpecConstantOpcode()
229 spv_result_t AssemblyGrammar::lookupSpecConstantOpcode(SpvOp opcode) const { in lookupSpecConstantOpcode()
240 spv_result_t AssemblyGrammar::parseMaskOperand(const spv_operand_type_t type, in parseMaskOperand()
246 spv_result_t AssemblyGrammar::lookupExtInst(spv_ext_inst_type_t type, in lookupExtInst()
252 spv_result_t AssemblyGrammar::lookupExtInst(spv_ext_inst_type_t type, in lookupExtInst()
Dtext_handler.cpp39 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine()
63 spv_result_t advance(spv_text text, spv_position position) { in advance()
71 if (spv_result_t error = advanceLine(text, position)) return error; in advance()
96 spv_result_t getWord(spv_text text, spv_position position, std::string* word) { in getWord()
190 spv_result_t AssemblyContext::advance() { in advance()
194 spv_result_t AssemblyContext::getWord(std::string* word, in getWord()
236 spv_result_t AssemblyContext::binaryEncodeU32(const uint32_t value, in binaryEncodeU32()
242 spv_result_t AssemblyContext::binaryEncodeNumericLiteral( in binaryEncodeNumericLiteral()
243 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
299 spv_result_t AssemblyContext::binaryEncodeString(const char* value, in binaryEncodeString()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/
Dassembly_grammar.h50 spv_result_t lookupOpcode(const char* name, spv_opcode_desc* desc) const;
55 spv_result_t lookupOpcode(SpvOp opcode, spv_opcode_desc* desc) const;
60 spv_result_t lookupOperand(spv_operand_type_t type, const char* name,
66 spv_result_t lookupOperand(spv_operand_type_t type, uint32_t operand,
85 spv_result_t lookupSpecConstantOpcode(const char* name, SpvOp* opcode) const;
89 spv_result_t lookupSpecConstantOpcode(SpvOp opcode) const;
100 spv_result_t parseMaskOperand(const spv_operand_type_t type,
106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
112 spv_result_t lookupExtInst(spv_ext_inst_type_t type, uint32_t firstWord,
Dtext_handler.h141 spv_result_t advance();
145 spv_result_t getWord(std::string* word, spv_position next_position);
157 DiagnosticStream diagnostic(spv_result_t error) { in diagnostic()
187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
201 spv_result_t binaryEncodeNumericLiteral(const char* numeric_literal,
202 spv_result_t error_code,
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
225 spv_result_t recordTypeIdForValue(uint32_t value, uint32_t type);
229 spv_result_t recordIdAsExtInstImport(uint32_t id, spv_ext_inst_type_t type);
Dassembly_grammar.cpp43 spv_result_t spvTextParseMaskOperand(spv_target_env env, in spvTextParseMaskOperand()
192 spv_result_t AssemblyGrammar::lookupOpcode(const char* name, in lookupOpcode()
197 spv_result_t AssemblyGrammar::lookupOpcode(SpvOp opcode, in lookupOpcode()
202 spv_result_t AssemblyGrammar::lookupOperand(spv_operand_type_t type, in lookupOperand()
209 spv_result_t AssemblyGrammar::lookupOperand(spv_operand_type_t type, in lookupOperand()
216 spv_result_t AssemblyGrammar::lookupSpecConstantOpcode(const char* name, in lookupSpecConstantOpcode()
229 spv_result_t AssemblyGrammar::lookupSpecConstantOpcode(SpvOp opcode) const { in lookupSpecConstantOpcode()
240 spv_result_t AssemblyGrammar::parseMaskOperand(const spv_operand_type_t type, in parseMaskOperand()
246 spv_result_t AssemblyGrammar::lookupExtInst(spv_ext_inst_type_t type, in lookupExtInst()
252 spv_result_t AssemblyGrammar::lookupExtInst(spv_ext_inst_type_t type, in lookupExtInst()
Dtext_handler.cpp38 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine()
62 spv_result_t advance(spv_text text, spv_position position) { in advance()
69 if (spv_result_t error = advanceLine(text, position)) return error; in advance()
94 spv_result_t getWord(spv_text text, spv_position position, std::string* word) { in getWord()
188 spv_result_t AssemblyContext::advance() { in advance()
192 spv_result_t AssemblyContext::getWord(std::string* word, in getWord()
234 spv_result_t AssemblyContext::binaryEncodeU32(const uint32_t value, in binaryEncodeU32()
240 spv_result_t AssemblyContext::binaryEncodeNumericLiteral( in binaryEncodeNumericLiteral()
241 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
297 spv_result_t AssemblyContext::binaryEncodeString(const char* value, in binaryEncodeString()
[all …]
Ddiagnostic.h33 spv_result_t error) in DiagnosticStream()
57 operator spv_result_t() { return error_; } in spv_result_t() function
64 spv_result_t error_;
75 std::string spvResultToString(spv_result_t res);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlibspirv.h56 typedef enum spv_result_t { enum
79 SPV_FORCE_32_BIT_ENUM(spv_result_t)
80 } spv_result_t; typedef
773 SPIRV_TOOLS_EXPORT spv_result_t spvTextToBinary(const spv_const_context context,
782 SPIRV_TOOLS_EXPORT spv_result_t spvTextToBinaryWithOptions(
796 SPIRV_TOOLS_EXPORT spv_result_t spvBinaryToText(const spv_const_context context,
816 SPIRV_TOOLS_EXPORT spv_result_t spvValidate(const spv_const_context context,
829 SPIRV_TOOLS_EXPORT spv_result_t spvValidateWithOptions(
836 SPIRV_TOOLS_EXPORT spv_result_t
851 SPIRV_TOOLS_EXPORT spv_result_t
[all …]
/third_party/skia/third_party/externals/spirv-tools/include/spirv-tools/
Dlibspirv.h56 typedef enum spv_result_t { enum
79 SPV_FORCE_32_BIT_ENUM(spv_result_t)
80 } spv_result_t; typedef
773 SPIRV_TOOLS_EXPORT spv_result_t spvTextToBinary(const spv_const_context context,
782 SPIRV_TOOLS_EXPORT spv_result_t spvTextToBinaryWithOptions(
796 SPIRV_TOOLS_EXPORT spv_result_t spvBinaryToText(const spv_const_context context,
816 SPIRV_TOOLS_EXPORT spv_result_t spvValidate(const spv_const_context context,
829 SPIRV_TOOLS_EXPORT spv_result_t spvValidateWithOptions(
836 SPIRV_TOOLS_EXPORT spv_result_t
851 SPIRV_TOOLS_EXPORT spv_result_t
[all …]
/third_party/spirv-tools/include/spirv-tools/
Dlibspirv.h56 typedef enum spv_result_t { enum
79 SPV_FORCE_32_BIT_ENUM(spv_result_t)
80 } spv_result_t; typedef
782 SPIRV_TOOLS_EXPORT spv_result_t spvTextToBinary(const spv_const_context context,
791 SPIRV_TOOLS_EXPORT spv_result_t spvTextToBinaryWithOptions(
805 SPIRV_TOOLS_EXPORT spv_result_t spvBinaryToText(const spv_const_context context,
825 SPIRV_TOOLS_EXPORT spv_result_t spvValidate(const spv_const_context context,
838 SPIRV_TOOLS_EXPORT spv_result_t spvValidateWithOptions(
845 SPIRV_TOOLS_EXPORT spv_result_t
860 SPIRV_TOOLS_EXPORT spv_result_t
[all …]

12345678910>>...14