diff options
author | Kenneth Graunke <[email protected]> | 2012-01-07 20:31:55 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-01-09 21:45:10 -0800 |
commit | 7cb40da7a55e8f81f4e2138845087eb1e0310bc1 (patch) | |
tree | 45922e92f9b548c2ee2d58a56b5e1eeb8e3a6157 /src/mesa | |
parent | 647b890e7d2fe628812017fd10a6a68fa9e4da8b (diff) |
i965: Re-sync outdated comments about Gen6+ push constants.
In f3e9ccb3b, I renamed gen6_upload_wm_constants to
gen6_upload_wm_push_constants, but neglected to update this comment.
I don't think there ever was a gen7_prepare_wm_constants function; it
was probably a search and replace error. Of course, "prepare" functions
died a while back as well.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_wm_state.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_wm_state.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_wm_state.c b/src/mesa/drivers/dri/i965/gen6_wm_state.c index c04f2342c40..0547eb8a0b3 100644 --- a/src/mesa/drivers/dri/i965/gen6_wm_state.c +++ b/src/mesa/drivers/dri/i965/gen6_wm_state.c @@ -118,7 +118,7 @@ upload_wm_state(struct brw_context *brw) GEN6_CONSTANT_BUFFER_0_ENABLE | (5 - 2)); /* Pointer to the WM constant buffer. Covered by the set of - * state flags from gen6_upload_wm_constants + * state flags from gen6_upload_wm_push_constants. */ OUT_BATCH(brw->wm.push_const_offset + ALIGN(brw->wm.prog_data->nr_params, diff --git a/src/mesa/drivers/dri/i965/gen7_wm_state.c b/src/mesa/drivers/dri/i965/gen7_wm_state.c index 260d2e221f0..504599149cb 100644 --- a/src/mesa/drivers/dri/i965/gen7_wm_state.c +++ b/src/mesa/drivers/dri/i965/gen7_wm_state.c @@ -133,7 +133,7 @@ upload_ps_state(struct brw_context *brw) brw->wm.prog_data->dispatch_width) / 8); OUT_BATCH(0); /* Pointer to the WM constant buffer. Covered by the set of - * state flags from gen7_prepare_wm_constants + * state flags from gen6_upload_wm_push_constants. */ OUT_BATCH(brw->wm.push_const_offset); OUT_BATCH(0); |