summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_nir.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-06-22 16:46:39 -0700
committerMatt Turner <[email protected]>2017-07-20 16:56:49 -0700
commit782ef3045162493c9bccd0fd996c93f9f4533948 (patch)
tree5054f3b2cb8f6f22d15b6f2fae11c12f8e85dd92 /src/intel/compiler/brw_nir.c
parent823893051052c55baece54449ba1f7c2669f4d33 (diff)
i965/fs: Implement ARB_shader_ballot operations
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r--src/intel/compiler/brw_nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index cede77fbc88..ce21c016699 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -620,6 +620,7 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir)
OPT(nir_lower_tex, &tex_options);
OPT(nir_normalize_cubemap_coords);
+ OPT(nir_lower_read_invocation_to_scalar);
OPT(nir_lower_global_vars_to_local);