Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 445 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 445 Bytes

CompuseShaderTool

This tool parses OpenCL shader files (*.cl) and generates C++ source files for them.

Description

The generator uses ComputeShaderTemplate.h.in and generates the files by doing some string replacements.

There are several variables in the template file that are replaced by the generator.

  • $includes$
  • $namespace$
  • $name$
  • $createkernels$
  • $shutdown$
  • $kernels$

The parser includes a preprocessor.