[Mesa-dev] [PATCH 5/6] i965: Pass NULL for gl_program when compiling TES.

Kenneth Graunke kenneth at whitecape.org
Sat Jan 7 08:02:58 UTC 2017


This isn't needed, and Vulkan doesn't have one.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_shader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.11.0



More information about the mesa-dev mailing list