diff options
author | Eric Anholt <[email protected]> | 2014-05-19 10:10:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-07-02 12:45:59 -0700 |
commit | c0f1929dd23bbc558e9eef0f8fd40e10dfef3c21 (patch) | |
tree | e3ffee1f9ab5bda192a0596af8ce374afa67a97f /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 5ba31c34d8676b713ed031842489e166406d1afc (diff) |
i965: Move dispatch_grf_start_reg and first_curbe_grf into stage_prog_data.
I wanted to access this value from stage-generic code, so stop storing it
under two different names.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index c0cb26745ca..7aa9484f568 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -297,6 +297,12 @@ struct brw_stage_prog_data { GLuint nr_params; /**< number of float params/constants */ GLuint nr_pull_params; + /** + * Register where the thread expects to find input data from the URB + * (typically uniforms, followed by vertex or fragment attributes). + */ + unsigned dispatch_grf_start_reg; + /* Pointers to tracked values (only valid once * _mesa_load_state_parameters has been called at runtime). * @@ -321,8 +327,7 @@ struct brw_wm_prog_data { GLuint curb_read_length; GLuint num_varying_inputs; - GLuint first_curbe_grf; - GLuint first_curbe_grf_16; + GLuint dispatch_grf_start_reg_16; GLuint reg_blocks; GLuint reg_blocks_16; GLuint total_scratch; @@ -524,12 +529,6 @@ struct brw_vec4_prog_data { struct brw_stage_prog_data base; struct brw_vue_map vue_map; - /** - * Register where the thread expects to find input data from the URB - * (typically uniforms, followed by per-vertex inputs). - */ - unsigned dispatch_grf_start_reg; - GLuint curb_read_length; GLuint urb_read_length; GLuint total_grf; |