Mesa (master): i965: Pass NULL for gl_program when compiling TES.

Kenneth Graunke kwg at kemper.freedesktop.org
Sun Jan 8 20:07:15 UTC 2017


Module: Mesa
Branch: master
Commit: 6e8ac0641fa0276fb23b2fd3811ffc4081d42fd6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e8ac0641fa0276fb23b2fd3811ffc4081d42fd6

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Feb 25 11:55:23 2016 -0800

i965: Pass NULL for gl_program when compiling TES.

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

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 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 821d093..daa0c24 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)




More information about the mesa-commit mailing list