Fix T62873 GPUShader: compile error (when clipping in viewport)
Props to @matc for the fix
This commit is contained in:
parent
16087eb911
commit
13832988ad
Notes:
blender-bot
2023-02-14 03:15:42 +01:00
Referenced by issue #62873, GPUShader: compile error (when clipping in viewport)
|
@ -236,7 +236,7 @@ static GPUShader *ensure_deferred_prepass_shader(
|
|||
char *prepass_vert = workbench_build_prepass_vert(is_hair);
|
||||
char *prepass_frag = workbench_build_prepass_frag();
|
||||
sh_data->prepass_sh_cache[index] = GPU_shader_create_from_arrays({
|
||||
.vert = (const char *[]){sh_cfg_data->lib, prepass_vert, NULL},
|
||||
.vert = (const char *[]){prepass_vert, NULL},
|
||||
.frag = (const char *[]){prepass_frag, NULL},
|
||||
.defs = (const char *[]){sh_cfg_data->def, defines, NULL},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue