iris: uniforms for VS
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Apr 2018 20:42:20 +0000 (13:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:06 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_program.c

index 4d6853eae32724f488baec10274004c51fc4a60f..4dd85b7af59d1bd93ecb010f1482af810d1a740e 100644 (file)
@@ -254,6 +254,9 @@ iris_compile_vs(struct iris_context *ice,
 
    // XXX: alt mode
    assign_common_binding_table_offsets(devinfo, &nir->info, prog_data, 0);
+
+   iris_setup_uniforms(mem_ctx, nir, prog_data);
+
    brw_compute_vue_map(devinfo,
                        &vue_prog_data->vue_map, nir->info.outputs_written,
                        nir->info.separate_shader);