diff options
author | Kenneth Graunke <[email protected]> | 2015-08-27 18:24:39 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-03 22:31:04 -0700 |
commit | 4f4b7c4711d98606270133dfd456acabfa8267a6 (patch) | |
tree | a2a58f43db646bed0b8bce6720c094ce65f7759a /src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | |
parent | 323962182547aeafcdb3bac28434ef81f70eb785 (diff) |
i965: Remove the brw_vue_prog_key base class.
The legacy userclip fields are only used for the vertex shader, and at
that point there's only program_string_id and the tex struct, which are
common to all keys. So there's no need for a "VUE" key base class.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 034286fbf2e..0ff298ed0e9 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -3692,7 +3692,7 @@ vec4_visitor::resolve_bool_comparison(ir_rvalue *rvalue, src_reg *reg) vec4_visitor::vec4_visitor(const struct brw_compiler *compiler, void *log_data, struct gl_program *prog, - const struct brw_vue_prog_key *key, + const struct brw_sampler_prog_key_data *key_tex, struct brw_vue_prog_data *prog_data, struct gl_shader_program *shader_prog, gl_shader_stage stage, @@ -3701,8 +3701,7 @@ vec4_visitor::vec4_visitor(const struct brw_compiler *compiler, int shader_time_index) : backend_shader(compiler, log_data, mem_ctx, shader_prog, prog, &prog_data->base, stage), - key(key), - key_tex(&key->tex), + key_tex(key_tex), prog_data(prog_data), sanity_param_count(0), fail_msg(NULL), |