summaryrefslogtreecommitdiff
path: root/include/GLES/glext.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-08-24 01:16:46 -0700
committerVinson Lee <vlee@vmware.com>2010-08-24 01:16:46 -0700
commitc8b26c63fdad84d311748a24972146b6a371ab31 (patch)
treedd5631facc1cb5db94a08f06f0977dcefb0571d9 /include/GLES/glext.h
parentb018ea19a39cb0e5326e92c88a55ff220e463404 (diff)
glsl: Add assert to check variable_entry referenced_count after construction.
A variable_entry after construction should have its referenced_count member set to 0. However, occassionally this isn't the case and entry->referenced_count has been observed to be a garbage value. This leads to crashes of several tests in the Piglit test suite. This patch adds an assert to check that a variable_entry instance has its referenced_count member initialized to 0 after construction.
Diffstat (limited to 'include/GLES/glext.h')
0 files changed, 0 insertions, 0 deletions