Bug 658826 - disable optimization in D3DCompiler to avoid freeze bugs - r=jrmuizel

ANGLE's own buildsystem, which Chrome uses, has been doing this for a long time. This aligns us with them.
This commit is contained in:
Benoit Jacob 2011-10-03 23:09:03 -04:00
parent e887ebd318
commit ce9fd81cfc
3 changed files with 12 additions and 0 deletions

View File

@ -128,6 +128,10 @@ CSRCS = \
DEFINES += -DANGLE_USE_NSPR -DANGLE_BUILD DEFINES += -DANGLE_USE_NSPR -DANGLE_BUILD
#these defines are from ANGLE's build_angle.gyp
DEFINES += -DANGLE_DISABLE_TRACE
DEFINES += -DANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL0
EXTRA_DSO_LDOPTS = $(MOZALLOC_LIB) EXTRA_DSO_LDOPTS = $(MOZALLOC_LIB)
ifdef MOZ_ANGLE ifdef MOZ_ANGLE

View File

@ -131,6 +131,10 @@ CSRCS = \
DEFINES += -DANGLE_BUILD -DNOMINMAX -DLIBEGL_EXPORTS -D_CRT_SECURE_NO_DEPRECATE DEFINES += -DANGLE_BUILD -DNOMINMAX -DLIBEGL_EXPORTS -D_CRT_SECURE_NO_DEPRECATE
#these defines are from ANGLE's build_angle.gyp
DEFINES += -DANGLE_DISABLE_TRACE
DEFINES += -DANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL0
ifndef MOZ_DEBUG ifndef MOZ_DEBUG
DEFINES += -D_SECURE_SCL=0 DEFINES += -D_SECURE_SCL=0
endif endif

View File

@ -131,6 +131,10 @@ CSRCS = \
DEFINES += -DANGLE_BUILD -DNOMINMAX -DLIBGLESV2_EXPORTS -D_CRT_SECURE_NO_DEPRECATE DEFINES += -DANGLE_BUILD -DNOMINMAX -DLIBGLESV2_EXPORTS -D_CRT_SECURE_NO_DEPRECATE
#these defines are from ANGLE's build_angle.gyp
DEFINES += -DANGLE_DISABLE_TRACE
DEFINES += -DANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL0
ifndef MOZ_DEBUG ifndef MOZ_DEBUG
DEFINES += -D_SECURE_SCL=0 DEFINES += -D_SECURE_SCL=0
endif endif