From: Kenneth Graunke Date: Tue, 26 Jun 2018 20:11:05 +0000 (-0700) Subject: iris: TES uniform fixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de08ac9b0f80de4f6957acc0e3512518bb4d1c99;p=mesa.git iris: TES uniform fixes not that we have a TES, but... --- diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index f0e57e55ba4..b94583e9b67 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -325,6 +325,8 @@ iris_compile_tes(struct iris_context *ice, assign_common_binding_table_offsets(devinfo, nir, prog_data, 0); + iris_setup_uniforms(compiler, mem_ctx, nir, prog_data); + struct brw_vue_map input_vue_map; brw_compute_tess_vue_map(&input_vue_map, key->inputs_read, key->patch_inputs_read); @@ -334,7 +336,7 @@ iris_compile_tes(struct iris_context *ice, brw_compile_tes(compiler, &ice->dbg, mem_ctx, key, &input_vue_map, tes_prog_data, nir, NULL, -1, &error_str); if (program == NULL) { - dbg_printf("Failed to compile vertex shader: %s\n", error_str); + dbg_printf("Failed to compile evaluation shader: %s\n", error_str); ralloc_free(mem_ctx); return false; }