mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
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:
parent
e887ebd318
commit
ce9fd81cfc
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user