def load_shader(self, shader_type: str, path: str):
if path:<EOL><INDENT>resolved_path = self.find_program(path)<EOL>if not resolved_path:<EOL><INDENT>raise ValueError("<STR_LIT>".format(shader_type, path))<EOL><DEDENT>print("<STR_LIT>", path)<EOL>with open(resolved_path, '<STR_LIT:r>') as fd:<EOL><INDENT>return fd.read()<EOL><DEDENT><DEDENT>
Load a single shader