Skip to content

Typo option name used in spvTextToBinary #2414

@archimedus

Description

@archimedus

text.cpp specifies invalid option SPV_BINARY_TO_TEXT_OPTION_NONE should be SPV_TEXT_TO_BINARY_OPTION_NONE. Due to numerically they are the same -> typo.

spv_result_t spvTextToBinary(const spv_const_context context,
                             const char* input_text,
                             const size_t input_text_size, spv_binary* pBinary,
                             spv_diagnostic* pDiagnostic) {
  return spvTextToBinaryWithOptions(context, input_text, input_text_size,
                                    SPV_BINARY_TO_TEXT_OPTION_NONE, pBinary,
                                    pDiagnostic);
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions