diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-25 20:51:31 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-25 20:51:31 +0300 |
commit | c89d6b095301e7f7870233091c178fdc78ba54ae (patch) | |
tree | f10863f525e74f24de50e7655cf4a34bd65d5a12 /source/blender/draw/engines/workbench/shaders | |
parent | 2637f94358329e1a8fce59dd036c577459e5a847 (diff) |
Workbench: Use GPU_ARB_gpu_shader5 instead of GL variant
This is to be able to turn off the extension usage on demand.
Diffstat (limited to 'source/blender/draw/engines/workbench/shaders')
-rw-r--r-- | source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_geom.glsl | 2 | ||||
-rw-r--r-- | source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_geom.glsl b/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_geom.glsl index 1f172de1e12..272f0621185 100644 --- a/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_geom.glsl +++ b/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_geom.glsl @@ -1,4 +1,4 @@ -#ifdef GL_ARB_gpu_shader5 +#ifdef GPU_ARB_gpu_shader5 # define USE_INVOC_EXT #endif diff --git a/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl b/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl index b49ade13034..b4b6cd45d7a 100644 --- a/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl +++ b/source/blender/draw/engines/workbench/shaders/workbench_shadow_geom.glsl @@ -1,4 +1,4 @@ -#ifdef GL_ARB_gpu_shader5 +#ifdef GPU_ARB_gpu_shader5 # define USE_INVOC_EXT #endif |