i965: Clean up GLSL compiler option setup
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Sep 2015 18:18:23 +0000 (11:18 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Sep 2015 20:26:52 +0000 (13:26 -0700)
commit60befc63470a9cf1ac59ca74cd0a8164a25db09e
tree9ca7009964429db246f571be7ebfdda203c47ac4
parent6dfc5e28f7d08094210d8cecd3ed4a5b393dafe9
i965: Clean up GLSL compiler option setup

The only functional change here is that we now set EmitNoIndirectOutput and
EmitNoIndirectTemp for compute shaders.  Compute shaders don't have outputs
per-se and we should have been setting EmitNoIndirectTemp all along.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_shader.cpp