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
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
..
img Merge gpu and shaders layers into gpu layer 2017-04-09 18:14:59 -04:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org Fix doc for erlang, gpu, ess and vim-empty-lines layer 2018-01-14 22:58:00 -05:00

GPU layer

/TakeV/spacemacs/media/commit/738b1be5c39f554eb29903ac6d17ee53aff963a6/layers/+lang/gpu/img/opencl.png /TakeV/spacemacs/media/commit/738b1be5c39f554eb29903ac6d17ee53aff963a6/layers/+lang/gpu/img/cuda.png /TakeV/spacemacs/media/commit/738b1be5c39f554eb29903ac6d17ee53aff963a6/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.