diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2014-05-25 01:08:53 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2014-05-27 13:46:01 -0700 |
commit | d9cac44a146377134bc883c676854e53fd87f5c4 (patch) | |
tree | f08defc12ac32c360e31362a05e24753e1133c42 /src/mesa/drivers/dri/i965/brw_sf.h | |
parent | e287f5937f0381a4ff24583a3cfd74ccaa37f423 (diff) | |
download | external_mesa3d-d9cac44a146377134bc883c676854e53fd87f5c4.zip external_mesa3d-d9cac44a146377134bc883c676854e53fd87f5c4.tar.gz external_mesa3d-d9cac44a146377134bc883c676854e53fd87f5c4.tar.bz2 |
i965/sf: Move brw_compile::flag_value to brw_sf_compile.
This field is only used to track the current value of the flag register
during the SF compile. It has no place in the common compiler code.
While we're changing every call, drop the 'brw' prefix from the function
since it's static.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.h b/src/mesa/drivers/dri/i965/brw_sf.h index 971f5fb..066adb9 100644 --- a/src/mesa/drivers/dri/i965/brw_sf.h +++ b/src/mesa/drivers/dri/i965/brw_sf.h @@ -94,6 +94,9 @@ struct brw_sf_compile { GLuint nr_setup_regs; int urb_entry_read_offset; + /** The last known value of the f0.0 flag register. */ + unsigned flag_value; + struct brw_vue_map vue_map; bool has_flat_shading; }; |