summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-10-03 10:30:07 -0700
committerEric Anholt <[email protected]>2013-10-15 10:18:40 -0700
commit5463b5bbbdf133986ac89fd6afdf2bc9622e3ca6 (patch)
tree2849fd775423b0465c4c5846b2156ba59290d04f /src/mesa/drivers/dri/i965/brw_shader.h
parent278879838827d99563fe61639aa0f19240ce495d (diff)
i965: Always have the struct gl_program * in the backend visitor.
vec4 already had it, so put it in the FS, too. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 21a0ad66c42..8b2d7a7ad17 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -59,6 +59,7 @@ public:
struct gl_context *ctx;
struct brw_shader *shader;
struct gl_shader_program *shader_prog;
+ struct gl_program *prog;
/** ralloc context for temporary data used during compile */
void *mem_ctx;