Use D3D compiler optimization level 3.

The is to try and fix some three.js lighting issues. It appears optimization level 0 has a loop unrolling bug. The compiler returns success but the shader does not work. All other optimization levels work. http://crbug.com/153105. Repro here: http://alteredqualia.com/tmp/tests/angle-issues/webgl_materials_normalmap_test.html Both heads should look the same. Review URL: https://codereview.appspot.com/6821060 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1465 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent e3e826d4
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
'target_defaults': { 'target_defaults': {
'defines': [ 'defines': [
'ANGLE_DISABLE_TRACE', 'ANGLE_DISABLE_TRACE',
'ANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL0',
], ],
}, },
'targets': [ 'targets': [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment