summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-09-08 23:48:53 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-10-05 19:21:06 -0700
commit40258a13d5bf81303585eaf1859fcb85e373be3e (patch)
tree632f72013e4d467afeb56e55e3f5305b4047e387 /src/mesa/drivers/dri/i965/brw_context.h
parente51e055fcdf8107aafaba358fa65b00f963e1728 (diff)
downloadexternal_mesa3d-40258a13d5bf81303585eaf1859fcb85e373be3e.zip
external_mesa3d-40258a13d5bf81303585eaf1859fcb85e373be3e.tar.gz
external_mesa3d-40258a13d5bf81303585eaf1859fcb85e373be3e.tar.bz2
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 <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arcero@collabora.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index dcda574..7bc91a8 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1096,7 +1096,6 @@ struct brw_context
struct {
struct brw_stage_state base;
- struct brw_vs_prog_data *prog_data;
} vs;
struct {