GPU: Fix Segmentation Fault Freeing Failed Shader
The CPP Shader class does not initialize the interface attribute. What will crash when deleting the shader. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8740
This commit is contained in:
parent
a48d78ce07
commit
c284326809
Notes:
blender-bot
2023-02-14 10:37:50 +01:00
Referenced by commit b8f990b0b4
, Revert "GPU: Fix Segmentation Fault Freeing Failed Shader"
Referenced by issue #80168, Crash if shader compilation fails
|
@ -1 +1 @@
|
|||
Subproject commit 260b439d0fb15e3cd1efe5c120cf24f91d13d855
|
||||
Subproject commit 2a85baf7318e2d8a26a25e6eb8211a2395d44a76
|
|
@ -1 +1 @@
|
|||
Subproject commit 01cf2f810ad084cb4e2dad6dc7f82f3bc05f2a06
|
||||
Subproject commit 7bd666f5f3a0cb588fa99bf0786dc5ff834b2ea4
|
|
@ -36,7 +36,7 @@ namespace gpu {
|
|||
class Shader {
|
||||
public:
|
||||
/** Uniform & attribute locations for shader. */
|
||||
ShaderInterface *interface;
|
||||
ShaderInterface *interface = nullptr;
|
||||
|
||||
protected:
|
||||
/** For debugging purpose. */
|
||||
|
|
Loading…
Reference in New Issue