iris: regather info so we get CLIP_DIST slots, not CLIP_VERTEX
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 9 Nov 2018 20:06:11 +0000 (12:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_program.c

index e2dcc73dab904f7fce2e13f49af4782d8be586aa..9634075196e31510f73fbf51c12d7972e95b6bc1 100644 (file)
@@ -559,6 +559,7 @@ iris_compile_vs(struct iris_context *ice,
       nir_lower_io_to_temporaries(nir, impl, true, false);
       nir_lower_global_vars_to_local(nir);
       nir_lower_vars_to_ssa(nir);
+      nir_shader_gather_info(nir, impl);
    }
 
    // XXX: alt mode