https://github.com/halide/Halide
Raw File
Tip revision: 1714e0ddf5a19987a3ae5e31688f1af1d0810b33 authored by Steven Johnson on 11 December 2017, 21:56:12 UTC
Merge branch 'master' into srj-appmake2
Tip revision: 1714e0d
InjectOpenGLIntrinsics.h
#ifndef HALIDE_INJECT_OPENGL_INTRINSICS_H
#define HALIDE_INJECT_OPENGL_INTRINSICS_H

/** \file
 * Defines the lowering pass that injects texture loads and texture
 * stores for opengl.
 */

#include "IR.h"

namespace Halide {
namespace Internal {

/** Take a statement with for kernel for loops and turn loads and
 * stores inside the loops into OpenGL texture load and store
 * intrinsics. Should only be run when the OpenGL target is active. */
Stmt inject_opengl_intrinsics(Stmt s);

}
}

#endif
back to top