diff options
author | Kenneth Graunke <[email protected]> | 2015-06-28 21:02:15 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-07-09 17:06:29 -0700 |
commit | 13372a0ce746cde6fa6e0aa3c5130e4227f123e0 (patch) | |
tree | ea7ba0872a9def3ae50f77514323cceda2e3c259 /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | 8524deb8c8fc37abc2cb2717be64a533746a92f9 (diff) |
i965/vec4: Move c->last_scratch into vec4_visitor.
Nothing outside of vec4_visitor uses it, so we may as well keep it
internal.
Commit db9c915abcc5ad78d2d11d0e732f04cc94631350 for the vec4 backend.
(The empty class will be going away soon.)
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 043557b0c9d..36436511df0 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -47,10 +47,6 @@ extern "C" { #include "glsl/ir.h" -struct brw_vec4_compile { - GLuint last_scratch; /**< measured in 32-byte (register size) units */ -}; - #ifdef __cplusplus extern "C" { #endif @@ -78,7 +74,6 @@ class vec4_visitor : public backend_shader, public ir_visitor public: vec4_visitor(const struct brw_compiler *compiler, void *log_data, - struct brw_vec4_compile *c, struct gl_program *prog, const struct brw_vue_prog_key *key, struct brw_vue_prog_data *prog_data, @@ -104,7 +99,6 @@ public: return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_UD)); } - struct brw_vec4_compile * const c; const struct brw_vue_prog_key * const key; struct brw_vue_prog_data * const prog_data; unsigned int sanity_param_count; @@ -412,6 +406,8 @@ private: const bool no_spills; int shader_time_index; + + unsigned last_scratch; /**< measured in 32-byte (register size) units */ }; |