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

31 lines
1 KiB
Org Mode
Raw Normal View History

#+TITLE: GPU layer
2017-04-07 17:54:47 +00:00
[[file:img/opencl.png]] [[file:img/cuda.png]] [[file:img/shaders.png]]
2017-04-07 17:54:47 +00:00
* Table of Contents :TOC_4_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#install][Install]]
2017-04-07 17:54:47 +00:00
* Description
This layer provides support for GPU related languages like shading and computing languages.
This includes files ending in:
2017-04-07 17:54:47 +00:00
- =.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]].
2017-04-07 17:54:47 +00:00
* 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.