compiler: fix "fireflies" over water in dota2 with BIL
authorGregF <greg@LunarG.com>
Tue, 17 Feb 2015 23:25:34 +0000 (16:25 -0700)
committerGregF <greg@LunarG.com>
Wed, 18 Feb 2015 00:01:27 +0000 (17:01 -0700)
commitf3772d0d1c177c617b4f7694be427f683b366bc0
tree0bac036a8c95aae08112f0916e20d007e3231a67
parentebd42de389466d3c4d673f70760fe4b25cf1e222
compiler: fix "fireflies" over water in dota2 with BIL

A shader with an initialized global array was causing an llvm
code sequence the glassy backend translator had not yet seen. In
particular, a store of the array constant through a local pointer
into alloca space made it into Bottom IR. Loads and stores are not
normally seen in Bottom IR. Fixed emitIRStore to deal properly with
these stores.
icd/intel/compiler/shader/glsl_glass_backend_translator.cpp