summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-02 20:11:54 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-02 20:11:54 +0000
commit3f79f50967bbf4fdaba7507a8d1526aa24eefd91 (patch)
tree01789b97c407ebc19a7be71430f031e232b06086
parente510ef026f853574a76ff832d27b8292c03c707b (diff)
downloadsrc-3f79f50967bbf4fdaba7507a8d1526aa24eefd91.tar.gz
Disable optimization on _swrast_write_zoomed_stencil_span
Otherwise, ICE on 2013 for optimized debug build (used for TSAN). R=timurrrr@chromium.org BUG=348397 Review URL: https://codereview.chromium.org/183923010 git-svn-id: svn://svn.chromium.org/chrome/trunk/deps/third_party/mesa@254411 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--src/mesa/swrast/s_zoom.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_zoom.c b/src/mesa/swrast/s_zoom.c
index 768bbba..cf9feb8 100644
--- a/src/mesa/swrast/s_zoom.c
+++ b/src/mesa/swrast/s_zoom.c
@@ -395,6 +395,10 @@ _swrast_write_zoomed_stencil_span(struct gl_context *ctx, GLint imgX, GLint imgY
free(zoomedVals);
}
+// http://crbug.com/348397
+#ifdef _MSC_VER
+#pragma optimize("", off)
+#endif
/**
* Zoom/write 32-bit Z values.
@@ -440,3 +444,7 @@ _swrast_write_zoomed_z_span(struct gl_context *ctx, GLint imgX, GLint imgY,
free(zoomedVals);
}
+
+#ifdef _MSC_VER
+#pragma optimize("", off)
+#endif