diff options
author | Paul Berry <stereotype441@gmail.com> | 2013-09-02 08:43:02 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-09-16 12:53:21 -0700 |
commit | d5b4095356566b33a1c0a8163099d878fe83822a (patch) | |
tree | 53dba6d1e16cdb08679d034aeea46e6a71ac1bdd /src/mesa/drivers/dri/i965/brw_sf.h | |
parent | 8c2b9bd1dfd482622260acbbc122bbfc8bd3bbf9 (diff) | |
download | external_mesa3d-d5b4095356566b33a1c0a8163099d878fe83822a.zip external_mesa3d-d5b4095356566b33a1c0a8163099d878fe83822a.tar.gz external_mesa3d-d5b4095356566b33a1c0a8163099d878fe83822a.tar.bz2 |
i965/sf: Use BRW_SF_URB_ENTRY_READ_OFFSET rather than hardcoded values.
We always program the SF unit to start reading the vertex URB entry at
offset 1. In upcoming patches, we'll be adding FS code that relies on
this. So consistently use the constant BRW_SF_URB_ENTRY_READ_OFFSET
rather than hardcoding a 1.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.h b/src/mesa/drivers/dri/i965/brw_sf.h index 09880fe..0006239 100644 --- a/src/mesa/drivers/dri/i965/brw_sf.h +++ b/src/mesa/drivers/dri/i965/brw_sf.h @@ -105,6 +105,4 @@ void brw_emit_point_setup( struct brw_sf_compile *c, bool allocate ); void brw_emit_point_sprite_setup( struct brw_sf_compile *c, bool allocate ); void brw_emit_anyprim_setup( struct brw_sf_compile *c ); -#define BRW_SF_URB_ENTRY_READ_OFFSET 1 - #endif |