summaryrefslogtreecommitdiff
path: root/src/glsl/opt_dead_builtin_varyings.cpp
diff options
context:
space:
mode:
authorAndreas Fänger <a.faenger@e-sign.com>2014-01-07 03:10:00 -0700
committerCarl Worth <cworth@cworth.org>2014-01-09 12:19:01 -0800
commit2b205f2864e14914c712aa607353e7e541cd250f (patch)
treee0d92f65618537e9fa53096a737afd7f0d5285bd /src/glsl/opt_dead_builtin_varyings.cpp
parentb1ff3f627092029c5842f28de27b7b77cea9e5fd (diff)
swrast: fix delayed texel buffer allocation regression for OpenMP
Commit 9119269ca14ed42b51c7d8e2e662500311b29fa3 moved the texel buffer allocation to _swrast_texture_span(), however, when compiled with OpenMP support this code already runs multi-threaded so a critical section is required to prevent multiple allocations and rendering errors. Cc: "10.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 2a0fb946e147f5482c93702fbf46ffdf5208f57c)
Diffstat (limited to 'src/glsl/opt_dead_builtin_varyings.cpp')
0 files changed, 0 insertions, 0 deletions