Re: [Mesa-dev] unpack functions showing up highly in profiles

2012-03-18 Thread Henri Verbeet
On 18 March 2012 17:47, Matt Turner wrote: > SC2's call chain for unpack_uint_z_X8_Z24 is > > unpack_uint_z_X8_Z24 >  - _mesa_unpack_uint_z_row >  - _mesa_readpixels >   - intelReadPixels >    - copy_tex_sub_image.isra.3 >     - intelCopyTexSubImage2D >      - copyteximage >       - shared_dispatc

Re: [Mesa-dev] unpack functions showing up highly in profiles

2012-03-18 Thread Matt Turner
On Sun, Mar 18, 2012 at 10:13 AM, Brian Paul wrote: > On Sat, Mar 17, 2012 at 7:55 PM, Matt Turner wrote: >> Hey >> >> On my i965/SNB system I profiled some games in WINE and saw that some >> unpack_* functions in src/mesa/main/format_unpack.c show up very >> highly. >> >> In Day of Defeat: Sourc

Re: [Mesa-dev] unpack functions showing up highly in profiles

2012-03-18 Thread Brian Paul
On Sat, Mar 17, 2012 at 7:55 PM, Matt Turner wrote: > Hey > > On my i965/SNB system I profiled some games in WINE and saw that some > unpack_* functions in src/mesa/main/format_unpack.c show up very > highly. > > In Day of Defeat: Source and Counter Strike: Source, the > _mesa_unpack_uint_z_row fu

[Mesa-dev] unpack functions showing up highly in profiles

2012-03-17 Thread Matt Turner
Hey On my i965/SNB system I profiled some games in WINE and saw that some unpack_* functions in src/mesa/main/format_unpack.c show up very highly. In Day of Defeat: Source and Counter Strike: Source, the _mesa_unpack_uint_z_row function was 10~30%. In Starcraft II, the unpack_ARGB function w