diff options
author | Kenneth Graunke <[email protected]> | 2014-11-30 02:11:29 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-12-04 15:04:35 -0800 |
commit | a2dd8ea59a59184197ae304d538542f4efb02b1c (patch) | |
tree | 19b96b32145bcc3c6d677ae56f1134b4f5badcb0 | |
parent | 7b6620faf5b2cb327a749eee35ee20ea68a009fe (diff) |
i965: Drop BRW_NEW_VERTEX_PROGRAM from Gen7+ 3DSTATE_VS atoms.
We don't access brw->vertex_program or ctx->_Shader since the previous
commit, so we don't need this dirty bit.
I think it's still necessary on Gen6 because it still conflates
constant uploading with unit state uploading. We can fix that later.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_vs_state.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_vs_state.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_vs_state.c b/src/mesa/drivers/dri/i965/gen7_vs_state.c index 5a115888ded..404dd20efec 100644 --- a/src/mesa/drivers/dri/i965/gen7_vs_state.c +++ b/src/mesa/drivers/dri/i965/gen7_vs_state.c @@ -110,7 +110,6 @@ const struct brw_tracked_state gen7_vs_state = { .mesa = _NEW_TRANSFORM, .brw = BRW_NEW_BATCH | BRW_NEW_CONTEXT | - BRW_NEW_VERTEX_PROGRAM | BRW_NEW_VS_PROG_DATA, }, .emit = upload_vs_state, diff --git a/src/mesa/drivers/dri/i965/gen8_vs_state.c b/src/mesa/drivers/dri/i965/gen8_vs_state.c index e5b7e0300da..b7af4661739 100644 --- a/src/mesa/drivers/dri/i965/gen8_vs_state.c +++ b/src/mesa/drivers/dri/i965/gen8_vs_state.c @@ -81,7 +81,6 @@ const struct brw_tracked_state gen8_vs_state = { .mesa = _NEW_TRANSFORM, .brw = BRW_NEW_BATCH | BRW_NEW_CONTEXT | - BRW_NEW_VERTEX_PROGRAM | BRW_NEW_VS_PROG_DATA, }, .emit = upload_vs_state, |