Lines Matching refs:glslc_program
145 glslang_program_t *glslc_program; in glslc_shader_compile() local
200 if (!(glslc_program = glslang_program_create())) { in glslc_shader_compile()
205 glslang_program_add_shader(glslc_program, glslc_shader); in glslc_shader_compile()
207 if (!glslang_program_link(glslc_program, GLSLANG_MSG_SPV_RULES_BIT | in glslc_shader_compile()
211 glslang_program_get_info_log(glslc_program), in glslc_shader_compile()
212 glslang_program_get_info_debug_log(glslc_program)); in glslc_shader_compile()
213 glslang_program_delete(glslc_program); in glslc_shader_compile()
218 glslang_program_SPIRV_generate(glslc_program, glslc_input.stage); in glslc_shader_compile()
220 messages = glslang_program_SPIRV_get_messages(glslc_program); in glslc_shader_compile()
230 *size = glslang_program_SPIRV_get_size(glslc_program) * sizeof(unsigned int); in glslc_shader_compile()
231 *data = (void *)glslang_program_SPIRV_get_ptr(glslc_program); in glslc_shader_compile()
232 *opaque = glslc_program; in glslc_shader_compile()