diff options
author | Kenneth Graunke <[email protected]> | 2016-09-08 23:48:53 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-10-05 19:21:06 -0700 |
commit | 40258a13d5bf81303585eaf1859fcb85e373be3e (patch) | |
tree | 632f72013e4d467afeb56e55e3f5305b4047e387 /src/mesa/drivers/dri/i965/brw_state_cache.c | |
parent | e51e055fcdf8107aafaba358fa65b00f963e1728 (diff) |
i965: Eliminate brw->vs.prog_data pointer.
Just say no to:
- brw->vs.base.prog_data = &brw->vs.prog_data->base.base;
We'll just use the brw_stage_prog_data pointer in brw_stage_state
and downcast it to brw_vs_prog_data as needed.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_cache.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c index 43b0a202f29..7fc8aa5c048 100644 --- a/src/mesa/drivers/dri/i965/brw_state_cache.c +++ b/src/mesa/drivers/dri/i965/brw_state_cache.c @@ -398,7 +398,6 @@ brw_clear_cache(struct brw_context *brw, struct brw_cache *cache) brw->state.pipelines[BRW_COMPUTE_PIPELINE].brw = ~0ull; /* Also, NULL out any stale program pointers. */ - brw->vs.prog_data = NULL; brw->vs.base.prog_data = NULL; brw->tcs.prog_data = NULL; brw->tcs.base.prog_data = NULL; |