aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-04-16 14:34:04 -0700
committerJason Ekstrand <[email protected]>2015-06-23 14:28:08 -0700
commitd7565b7d65f8203c20735a61b86e9158b8ec4447 (patch)
tree0673aa24fde1168b719a01e0432604003b4abda4 /src/mesa/drivers/dri/i965/brw_vec4.cpp
parente639a6f68e701f23b977a49c45d646c164991d36 (diff)
i965: Remove the dependance on brw_context from the generators
Reviewed-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 5e549c46d6b..572bc174986 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1910,7 +1910,7 @@ brw_vs_emit(struct brw_context *brw,
return NULL;
}
- fs_generator g(brw->intelScreen->compiler,
+ fs_generator g(brw->intelScreen->compiler, brw,
mem_ctx, (void *) &c->key, &prog_data->base.base,
&c->vp->program.Base, v.promoted_constants,
v.runtime_check_aads_emit, "VS");
@@ -1948,7 +1948,7 @@ brw_vs_emit(struct brw_context *brw,
return NULL;
}
- vec4_generator g(brw->intelScreen->compiler,
+ vec4_generator g(brw->intelScreen->compiler, brw,
prog, &c->vp->program.Base, &prog_data->base,
mem_ctx, INTEL_DEBUG & DEBUG_VS, "vertex", "VS");
assembly = g.generate_assembly(v.cfg, final_assembly_size);