This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/gpu/README.org
2017-04-09 18:14:59 -04:00

30 lines
1 KiB
Org Mode

#+TITLE: GPU layer
[[file:img/opencl.png]] [[file:img/cuda.png]] [[file:img/shaders.png]]
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#install][Install]]
* Description
This layer provides support for GPU related languages like shading and computing languages.
This includes files ending in:
- =.cl= (OpenCL)
- =.cu= (CUDA)
- =.cuh= (CUDA)
- =.fsh= (Shaders)
- =.vsh= (Shaders)
- =.glsl= (Shaders)
- =.vert= (Shaders)
- =.frag= (Shaders)
- =.geom= (Shaders)
-
Also this layer provides completion for =.vert=, =.tesc=, =.tese=, =.geom=,
=.frag= and =.comp= shaders via =company-glsl= when [[https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/][=glslangValidator=]] can be
found on your system and =auto-completion= layer is enabled. Note that
completion is [[https://github.com/Kaali/company-glsl][rather simple]].
* Install
To use this configuration layer, add it to your =~.spacemacs=. You will need to
add =gpu= to the existing =dotspacemacs-configuration-layers= list in this
file.