Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl2: move constructor into .cpp file to work around compiler bug | Brian Paul | 2010-08-24 | 1 | -0/+12 |
| | | | | | | | Fixes fd.o bug 29770 The refcount==0 assertion only failed on some systems. One example being 32-bit Linux with gcc 4.4.4. | ||||
* | glsl: Add assert to check variable_entry referenced_count after construction. | Vinson Lee | 2010-08-24 | 1 | -0/+1 |
| | | | | | | | | | | 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. | ||||
* | glsl2: Factor out the variable refcounting part of ir_dead_code.cpp. | Eric Anholt | 2010-07-31 | 1 | -0/+100 |