summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-02-25 11:55:23 -0800
committerKenneth Graunke <[email protected]>2017-01-07 22:24:10 -0800
commit6e8ac0641fa0276fb23b2fd3811ffc4081d42fd6 (patch)
treeeee8ffce84755b785b83d9982160e472bf5d499e
parent08f8f1bcd5bcfbe755a112250236b08bd97148a2 (diff)
i965: Pass NULL for gl_program when compiling TES.
This isn't needed, and Vulkan doesn't have one. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 821d093d4da..daa0c2408a8 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -1390,7 +1390,7 @@ brw_compile_tes(const struct brw_compiler *compiler,
if (is_scalar) {
fs_visitor v(compiler, log_data, mem_ctx, (void *) key,
- &prog_data->base.base, prog, nir, 8,
+ &prog_data->base.base, NULL, nir, 8,
shader_time_index, &input_vue_map);
if (!v.run_tes()) {
if (error_str)