pub fn generate_shader(
    draw_shader_def: &DrawShaderDef,
    const_table: &DrawShaderConstTable,
    shader_registry: &ShaderRegistry
) -> MetalGeneratedShader