i965: Pass NULL for gl_program when compiling TES.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Feb 2016 19:55:23 +0000 (11:55 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2017 06:24:10 +0000 (22:24 -0800)
This isn't needed, and Vulkan doesn't have one.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_shader.cpp

index 821d093..daa0c24 100644 (file)
@@ -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)