diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-04-16 15:28:17 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-06-23 14:28:09 -0700 |
commit | 6e255a3299c9ec5208cb5519b5da2edb0ce2972b (patch) | |
tree | 275ba11b5d2e9967d96e0d5b6fac1e484c38997a /src/mesa/drivers/dri/i965/intel_screen.c | |
parent | 073294d3ef20d0dbeffcc38aff3d69eda624ee75 (diff) | |
download | external_mesa3d-6e255a3299c9ec5208cb5519b5da2edb0ce2972b.zip external_mesa3d-6e255a3299c9ec5208cb5519b5da2edb0ce2972b.tar.gz external_mesa3d-6e255a3299c9ec5208cb5519b5da2edb0ce2972b.tar.bz2 |
i965: Add compiler options to brw_compiler
This creates the options at screen cration time and then we just copy them
into the context at context creation time. We also move is_scalar to the
brw_compiler structure.
We also end up manually setting some values that the core would have set by
default for us. Fortunately, there are only two non-zero shader compiler
option defaults that we aren't overriding anyway so this isn't a big deal.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 3ba75d8..f9398d7 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -39,6 +39,7 @@ #include "swrast/s_renderbuffer.h" #include "util/ralloc.h" #include "brw_shader.h" +#include "glsl/nir/nir.h" #include "utils.h" #include "xmlpool.h" |