Commit 2bfe5b85 authored by Dave Airlie's avatar Dave Airlie

glsl: init non-static class member in link uniforms. (v2)

link_uniforms.cpp:477: uninit_member: Non-static class member "shader_storage_blocks_write_access" is not initialized in this constructor nor in any functions that it calls.

Reported by coverity.

v2: fix 9->0 typo (Ilia)
Acked-by: Ilia Mirkin's avatarIlia Mirkin <>
parent b2d4d08a
...@@ -472,7 +472,8 @@ public: ...@@ -472,7 +472,8 @@ public:
bool use_std430_as_default) bool use_std430_as_default)
: prog(prog), map(map), uniforms(uniforms), : prog(prog), map(map), uniforms(uniforms),
use_std430_as_default(use_std430_as_default), values(values), use_std430_as_default(use_std430_as_default), values(values),
bindless_targets(NULL), bindless_access(NULL) bindless_targets(NULL), bindless_access(NULL),
{ {
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment