GPU: refactor clipped drawing from DRW into GPU
[blender.git] / source / blender / draw / engines / workbench / workbench_deferred.c
index 18b4712cc86a241d292595e9c7fca9fa1e183f80..0991546e74b9c14ac4e91a1ce3ab5f998cf8182d 100644 (file)
@@ -88,7 +88,7 @@ static struct {
 
 /* Shaders */
 extern char datatoc_common_hair_lib_glsl[];
-extern char datatoc_common_world_clip_lib_glsl[];
+extern char datatoc_gpu_shader_cfg_world_clip_lib_glsl[];
 
 extern char datatoc_workbench_prepass_vert_glsl[];
 extern char datatoc_workbench_prepass_frag_glsl[];
@@ -160,14 +160,14 @@ static char *workbench_build_prepass_vert(bool is_hair)
        char *str = NULL;
        if (!is_hair) {
                return BLI_string_joinN(
-                       datatoc_common_world_clip_lib_glsl,
+                       datatoc_gpu_shader_cfg_world_clip_lib_glsl,
                        datatoc_workbench_prepass_vert_glsl);
        }
 
        DynStr *ds = BLI_dynstr_new();
 
        BLI_dynstr_append(ds, datatoc_common_hair_lib_glsl);
-       BLI_dynstr_append(ds, datatoc_common_world_clip_lib_glsl);
+       BLI_dynstr_append(ds, datatoc_gpu_shader_cfg_world_clip_lib_glsl);
        BLI_dynstr_append(ds, datatoc_workbench_prepass_vert_glsl);
 
        str = BLI_dynstr_get_cstring(ds);