summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-07-11 11:32:04 -0700
committerEric Anholt <[email protected]>2011-07-12 14:40:39 -0700
commit6e6b38860488a0b2b282866f095cea9860503a14 (patch)
tree2b563dfcaed156ceb2c21f2339971c786001f2a2 /src/glsl
parentaceb66951d467844f2d722cf5d6bd6c429207cd2 (diff)
i915: Fix map/unmap mismatches from leaving INTEL_FALLBACK during TNL.
The first rendering after context create didn't know of the color buffer yet, triggering a sw fallback. The intel_prepare_render() from intelSpanRenderStart then found the buffer and turned off fallbacks, but intelSpanRenderFinish was never called and things were left mapped. By checking buffers before making the call on whether to do the fallback pipeline or not, we avoid the fallback change inside of the rendering pipeline. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31561 Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions