diff options
author | Brian Paul <brianp@vmware.com> | 2010-07-02 10:16:05 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-07-02 10:16:08 -0600 |
commit | 6e83420ee0ccb2228fab0f86a6e8bf8a6aefe57a (patch) | |
tree | 58d87ed3ba566a4385b3d3508b0cac7c24b62b5b /src/gallium/auxiliary/util/u_cache.c | |
parent | 7a5a0b205eb31ba72e5313b783b8815bcf8fa833 (diff) |
mesa: fix texenv generation when num color bufs == 0
Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE))
when the texenv program was generated, we'd emit writes to OUTPUT[1] but
the OutputsWritten mask was 0. This inconsistency caused an assertion to
fail later in the Mesa->TGSI translation.
Fixes fd.o bug 28169
NOTE: this is a candidate for the 7.8 branch (and depends on commit
b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7).
Diffstat (limited to 'src/gallium/auxiliary/util/u_cache.c')
0 files changed, 0 insertions, 0 deletions