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
2019-05-15 21:08:21 +03:00

1.2 KiB

GPU layer

/TakeV/spacemacs/media/commit/f3b902a304e1e98eefb60612b76e10e2ff1ebbf7/layers/+lang/gpu/img/opencl.png /TakeV/spacemacs/media/commit/f3b902a304e1e98eefb60612b76e10e2ff1ebbf7/layers/+lang/gpu/img/cuda.png /TakeV/spacemacs/media/commit/f3b902a304e1e98eefb60612b76e10e2ff1ebbf7/layers/+lang/gpu/img/shaders.png

Description

This layer adds support for GPU related languages like CUDA, OpenCL and various Shader formats to Spacemacs.

Features:

  • Syntax highlighting for

    • .cl (OpenCL)
    • .cu (CUDA)
    • .cuh (CUDA)
    • .fsh (Shaders)
    • .vsh (Shaders)
    • .glsl (Shaders)
    • .vert (Shaders)
    • .frag (Shaders)
    • .comp (Shaders)
    • .geom (Shaders)
    • .tesc (Shaders)
    • .tese (Shaders)
  • Simple auto-completion via company-glsl for

    • .vert (Shaders)
    • .geom (Shaders)
    • .tesc (Shaders)
    • .tese (Shaders)
    • .frag (Shaders)
    • .comp (Shaders)

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.

For auto-completion you will also need to install glslangValidator.