diff options
author | Topi Pohjolainen <[email protected]> | 2014-02-18 22:27:42 +0200 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2014-03-05 10:31:57 +0200 |
commit | 12d55d5f19368de7697f2e6df7d4ff98929112b1 (patch) | |
tree | 1e720ee376202819455b251fb76d22535d1bb2b0 | |
parent | a290cd039cc07330598a101e74d25289ce70bcee (diff) |
i965: Mark invariants in backend_visitor as constants
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h index 33295549b7a..086d042dd96 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.h +++ b/src/mesa/drivers/dri/i965/brw_shader.h @@ -79,12 +79,12 @@ protected: public: - struct brw_context *brw; - struct gl_context *ctx; - struct brw_shader *shader; - struct gl_shader_program *shader_prog; - struct gl_program *prog; - struct brw_stage_prog_data *stage_prog_data; + struct brw_context * const brw; + struct gl_context * const ctx; + struct brw_shader * const shader; + struct gl_shader_program * const shader_prog; + struct gl_program * const prog; + struct brw_stage_prog_data * const stage_prog_data; /** ralloc context for temporary data used during compile */ void *mem_ctx; |