diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-05-05 03:42:38 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-05-05 03:42:38 +0300 |
commit | adbe71c3fabab78985b1fa71a79fc2c03d73f939 (patch) | |
tree | a87816276e107fd27caa7153f315b8eb1f0f5e2c /intern | |
parent | f11dba88923f1710ef35eef61ea297800f718ce9 (diff) |
Fix T97835: crash when creating hair particle system on Mac
Recently `gpu_shader_3D_smooth_color_frag.glsl` had the uniform declarations removed.
For shaders without `ShaderCreateInfo` that require this source this results in the error:
```
ERROR (gpu.shader): hair_refine_shader_transform_feedback_workaround_create FragShader:
|
54 | fragColor = finalColor;
|
| gpu_shader_3D_smooth_color_frag.glsl:5:0: Error: Use of undeclared identifier 'fragColor'
| gpu_shader_3D_smooth_color_frag.glsl:5:0: Error: Use of undeclared identifier 'finalColor'
|
55 | fragColor = blender_srgb_to_framebuffer_space(fragColor);
|
| gpu_shader_3D_smooth_color_frag.glsl:6:0: Error: Use of undeclared identifier 'fragColor'
| gpu_shader_3D_smooth_color_frag.glsl:6:0: Error: Use of undeclared identifier 'fragColor'
```
So port that shader to use `ShaderCreateInfo`.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions