From: Ian Romanick <ian.d.roman...@intel.com>

All three of these commits could probably be squashed into one.

Signed-off-by: Ian Romanick <ian.d.roman...@intel.com>
---
 src/mesa/drivers/dri/i965/brw_shader.cpp |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp 
b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 634f7e3..fa325ba 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -57,17 +57,6 @@ brw_new_shader_program(struct gl_context *ctx, GLuint name)
    return &prog->base;
 }
 
-/**
- * Performs a compile of the shader stages even when we don't know
- * what non-orthogonal state will be set, in the hope that it reflects
- * the eventual NOS used, and thus allows us to produce link failures.
- */
-bool
-brw_shader_precompile(struct gl_context *ctx, struct gl_shader_program *prog)
-{
-   return true;
-}
-
 GLboolean
 brw_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
 {
@@ -145,9 +134,6 @@ brw_link_shader(struct gl_context *ctx, struct 
gl_shader_program *prog)
       ralloc_free(mem_ctx);
    }
 
-   if (!brw_shader_precompile(ctx, prog))
-      return false;
-
    return true;
 }
 
-- 
1.7.6.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to