diff options
author | Paul Berry <[email protected]> | 2013-02-16 10:32:50 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-02-19 07:35:52 -0800 |
commit | 444246c7e374a862f281afbcf9f7c5c9f87ac6aa (patch) | |
tree | 02b2bcf8cb7ef7abc5ef25d9deb4e10d8bf78d12 /src | |
parent | dfbcb1849c2fd7b88425645839cb530ca6f3f8cc (diff) |
i965: Remove unused userclip flags.
brw_vs_prog_data::userclip hasn't been used since commit f0cecd4
(i965: Move VUE map computation to once at VS compile time).
brw_gs_prog_key::userclip_active hasn't been used since commit 9f3d321
(i965: Make the userclip flag for the VUE map come from VS prog data).
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.h | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 50956029590..c173e49fefd 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -448,7 +448,6 @@ struct brw_vs_prog_data { GLuint urb_entry_size; bool uses_vertexid; - bool userclip; int num_surfaces; diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index 7663c6092f5..c6c6c140bdd 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -181,9 +181,6 @@ static void populate_key( struct brw_context *brw, key->pv_first = true; } - /* CACHE_NEW_VS_PROG (part of VUE map)*/ - key->userclip_active = brw->vs.prog_data->userclip; - if (intel->gen >= 7) { /* On Gen7 and later, we don't use GS (yet). */ key->need_gs_prog = false; diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h index f2597c8abab..6e014fa65d7 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.h +++ b/src/mesa/drivers/dri/i965/brw_gs.h @@ -49,7 +49,6 @@ struct brw_gs_prog_key { GLuint pv_first:1; GLuint need_gs_prog:1; - GLuint userclip_active:1; GLuint rasterizer_discard:1; /** |