diff options
author | Jason Ekstrand <[email protected]> | 2015-06-19 17:29:42 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-23 15:35:00 -0700 |
commit | 663f8d121d792edee5c012461bfd0b650011ff4a (patch) | |
tree | d5fe412ef0eb7aa6d0e31634ddd5a5bcb35207ec /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | 4af62c0f5cbadc762abb1bd2e59f44ca220e3f0a (diff) |
i965/vs: Pass the current set of clip planes through run() and run_vs()
Previously, these were pulled out of the GL context conditionally based on
whether we were running ff/ARB or a GLSL program. Now, we just pass them
in so that the visitor doesn't have to grab them itself.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 4a3ce62a12e..193b381acd0 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -177,10 +177,10 @@ public: struct hash_table *variable_ht; - bool run(void); + bool run(gl_clip_plane *clip_planes); void fail(const char *msg, ...); - void setup_uniform_clipplane_values(); + void setup_uniform_clipplane_values(gl_clip_plane *clip_planes); void setup_uniform_values(ir_variable *ir); void setup_builtin_uniform_values(ir_variable *ir); int setup_uniforms(int payload_reg); |