Searched refs:shaders_configuration (Results 1 – 1 of 1) sorted by relevance
82 …} shaders_configuration[] = { { GL_COMPUTE_SHADER, cs_body, 0 }, { GL_FRAGMENT_SHADER, fs_body, … in buildProgram() local86 …onst glw::GLuint n_shaders_configuration = sizeof(shaders_configuration) / sizeof(shaders_configur… in buildProgram()97 if (shaders_configuration[n_shader_index].body != DE_NULL) in buildProgram()100 …shaders_configuration[n_shader_index].id = gl.createShader(shaders_configuration[n_shader_index].t… in buildProgram()104 const glw::GLuint so_id = shaders_configuration[n_shader_index].id; in buildProgram()107 gl.shaderSource(shaders_configuration[n_shader_index].id, 1, /* count */ in buildProgram()108 &shaders_configuration[n_shader_index].body, DE_NULL); /* length */ in buildProgram()135 << "Shader type: " << shaders_configuration[n_shader_index].type << "\n" in buildProgram()139 << shaders_configuration[n_shader_index].body << "\n" in buildProgram()197 if (shaders_configuration[n_shader_index].body != DE_NULL) in buildProgram()[all …]