summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-03-30 21:14:08 -0600
committerBrian Paul <[email protected]>2017-03-31 13:36:25 -0600
commit2936f5c37eba10d68ac27cd7b77a633a127a1688 (patch)
tree29178c054e8e489ba10f86f50291830a2c161c76 /src/gallium/drivers/radeonsi/si_state.c
parent15bb0511d663b5458105f8eb7a68d917d9612ac7 (diff)
glsl: use -O1 optimization for builtin_functions.cpp with MinGW
Some versions of MinGW-w64 such as 5.3.1 and 6.2.0 produce bad code with -O2 or -O3 causing a random driver crash when running programs that use GLSL. Most Mesa demos in the glsl/ directory trigger the bug, but not the fragcoord.c test. Use a #pragma to force -O1 for this file for later MinGW versions. Luckily, this is basically one-time setup code. I suspect the bug is related to the sheer size of this file. This should let us move to newer versions of MinGW-w64 for Mesa. Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
0 files changed, 0 insertions, 0 deletions