import { CreateProgram } from "https://deno.land/x/shader_canvas@v1.1.1/core/webgl_programs/create_program.ts";
This functions reads each vertex attribute location of this program
and puts it in the attribute locations Map attribLocations
provided as
argument.
If the location already exists, it is assume that its location remains the same (this means that multiple programs must share the same locations for each vertex attribute).
The attribLocations
Map is changed. This is not a pure function.