Home | History | Annotate | Download | only in test

Lines Matching refs:binary

44   TextToBinaryTestBase() : diagnostic(nullptr), text(), binary(nullptr) {
66 &binary, &diagnostic);
70 code_copy = SpirvVector(binary->code, binary->code + binary->wordCount);
84 txt.size(), &binary, &diagnostic))
90 // Encodes SPIR-V text into binary and then decodes the binary using
100 txt.size(), &binary, &diagnostic);
106 if (!binary) return "";
109 error = spvBinaryToText(context.context, binary->code, binary->wordCount,
123 // Encodes SPIR-V text into binary. This is expected to succeed.
124 // The given words are then appended to the binary, and the result
166 // Destroys the binary, if it exists.
168 spvBinaryDestroy(binary);
169 binary = nullptr;
176 spv_binary binary;