From de08ac9b0f80de4f6957acc0e3512518bb4d1c99 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 26 Jun 2018 13:11:05 -0700 Subject: [PATCH] iris: TES uniform fixes not that we have a TES, but... --- src/gallium/drivers/iris/iris_program.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.30.2