| 107 | GLSLANG_EXPORT size_t glslang_program_SPIRV_get_size(glslang_program_t* program) { return program->spirv.size(); } |
| 108 | |
| 109 | GLSLANG_EXPORT void glslang_program_SPIRV_get(glslang_program_t* program, unsigned int* out) |
| 110 | { |
| 111 | memcpy(out, program->spirv.data(), program->spirv.size() * sizeof(unsigned int)); |
| 112 | } |
| 113 | |
| 114 | GLSLANG_EXPORT unsigned int* glslang_program_SPIRV_get_ptr(glslang_program_t* program) |
| 115 | { |
no test coverage detected