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/trunk@1383 736b8ea6-26fd-11df-bfd4-992fa37f6226
Showing
Please
register
or
sign in
to comment