mesa/src/compiler
Brian Paul 2936f5c37e 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 <jfonseca@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-03-31 13:36:25 -06:00
..
glsl glsl: use -O1 optimization for builtin_functions.cpp with MinGW 2017-03-31 13:36:25 -06:00
nir nir: Add support for 8 and 16-bit types 2017-03-30 11:34:45 -07:00
spirv spirv: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
builtin_type_macros.h glsl: Add basic ARB_gpu_shader_int64 types 2017-01-20 15:41:23 -08:00
glsl_types.cpp glsl: allow glsl_type::sampler_index() with images 2017-03-30 13:15:16 +02:00
glsl_types.h compiler: consistently use ifndef guards over pragma once 2017-03-22 16:55:21 +00:00
Makefile.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.glsl.am glsl: automake: export abs_builddir for the tests 2017-03-28 15:31:22 +01:00
Makefile.nir.am nir: automake: add the README to the tarball 2017-02-24 17:36:45 +00:00
Makefile.sources nir: Add a simple int64 lowering pass 2017-03-01 17:00:20 -08:00
nir_types.cpp nir/types: add C accessors for 64-bit integer types. 2017-02-16 14:10:45 +10:00
nir_types.h compiler: consistently use ifndef guards over pragma once 2017-03-22 16:55:21 +00:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c compiler: add missing enums for debug 2017-02-01 15:08:30 +00:00
shader_enums.h mesa: Introduce a compiler enum for tessellation spacing. 2017-01-07 22:22:28 -08:00
shader_info.h compiler: Merge shader_info's tcs and tes structs. 2017-01-10 13:21:21 -08:00