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

Henri Verbeet hverbeet at gmail.com
Sun Mar 18 10:25:34 PDT 2012


On 18 March 2012 17:47, Matt Turner <mattst88 at gmail.com> 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_dispatch_stub_324
>        - surface_load_ds_location
>         - drawPrimitive
>          - wined3d_device_draw_indexed_primitive
>           - IDirect3DDevice9Impl_DrawIndexedPrimitive
>            - ??
>
That's copying depth data, maybe stencil too. IIRC that used to hit a
fallback on at least some Intel hardware, maybe it still does. The
code in question on the Wine side will eventually go away, but for the
moment you can try setting the
"HKCU/Software/Wine/Direct3D/AlwaysOffscreen" registry key to
"enabled" (you'll probably have to create it) and see if that makes it
any better. For the Gallium based drivers a similar issue was fixed by
d958202.


More information about the mesa-dev mailing list