summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-06-26 13:11:05 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:07 -0800
commitde08ac9b0f80de4f6957acc0e3512518bb4d1c99 (patch)
tree2384e85c3ee142285335bf71a0ec7c1738f40585
parentd207f97840a49b8862a4627ceab01430ddd490a8 (diff)
iris: TES uniform fixes
not that we have a TES, but...
-rw-r--r--src/gallium/drivers/iris/iris_program.c4
1 files changed, 3 insertions, 1 deletions
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;
}