glsl/nir: init non-static class member.
authorDave Airlie <airlied@redhat.com>
Fri, 17 May 2019 02:20:19 +0000 (12:20 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 17 May 2019 02:33:09 +0000 (12:33 +1000)
commitb6e2a9eca7e81342ac0c1aab21f037543e09736e
tree3d336e4180cc2beb20b854ddae31e79ff9b85d82
parentebdddb36a0418caf0b80810c3641ee237905a5e0
glsl/nir: init non-static class member.

glsl_to_nir.cpp:276: uninit_member: Non-static class member "sig" is not initialized in this constructor nor in any functions that it calls.

Reported by coverity

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/glsl_to_nir.cpp