Mesa (mesa_7_6_branch): glsl: Initialize member a_obj of struct slang_operation.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 24 02:01:35 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 098f10c2709a33bb5f35d52a42818ce7cbcaadb5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=098f10c2709a33bb5f35d52a42818ce7cbcaadb5

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Dec 23 18:00:06 2009 -0800

glsl: Initialize member a_obj of struct slang_operation.

---

 src/mesa/shader/slang/slang_compile_operation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/shader/slang/slang_compile_operation.c b/src/mesa/shader/slang/slang_compile_operation.c
index be73094..3a15d9d 100644
--- a/src/mesa/shader/slang/slang_compile_operation.c
+++ b/src/mesa/shader/slang/slang_compile_operation.c
@@ -46,6 +46,7 @@ slang_operation_construct(slang_operation * oper)
    oper->literal_size = 1;
    oper->array_constructor = GL_FALSE;
    oper->a_id = SLANG_ATOM_NULL;
+   oper->a_obj = SLANG_ATOM_NULL;
    oper->locals = _slang_variable_scope_new(NULL);
    if (oper->locals == NULL)
       return GL_FALSE;




More information about the mesa-commit mailing list