mesa: Fix missing setting of shader->IsES.
authorEric Anholt <eric@anholt.net>
Thu, 13 Jun 2013 17:24:36 +0000 (10:24 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Jun 2013 17:04:29 +0000 (10:04 -0700)
commit88398a817c7402c8fa56823eaac4c755e5c2fdaf
tree836746f23f0bfe5ff31d6fd986c7175bd2bf6892
parentfaf3dbad0d30ed36ae6010a90ca2513edb591148
mesa: Fix missing setting of shader->IsES.

I noticed this while trying to merge code with the builtin compiler, which
does set it.

Note that this causes two regressions in piglit in
default-precision-sampler.* which try to link without a vertex or fragment
shader, due to being run under the desktop glslparsertest binary (using
ARB_ES3_compatibility) that doesn't know about this requirement.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/program/ir_to_mesa.cpp