iris: Fix failed to compile TCS message

This commit is contained in:
Kenneth Graunke 2018-11-28 15:06:00 -08:00
parent fbf3124771
commit bdc1269eb2

View file

@ -915,7 +915,7 @@ iris_compile_tcs(struct iris_context *ice,
brw_compile_tcs(compiler, &ice->dbg, mem_ctx, key, tcs_prog_data, nir,
-1, &error_str);
if (program == NULL) {
dbg_printf("Failed to compile evaluation shader: %s\n", error_str);
dbg_printf("Failed to compile control shader: %s\n", error_str);
ralloc_free(mem_ctx);
return false;
}