[Mesa-dev] [PATCH 00/12] Some more Nine fixes

Axel Davy axel.davy at ens.fr
Sun Feb 7 23:13:07 UTC 2016


A few more patches I'd like to get in 11.2.

There a few cleanup patches and some fixes.

The last patch fixes build with llvm 32 bits
when it isn't built with -mstackrealign.
Basically Apps have a 4 byte aligned stack,
and it needs to be converted at some point
to 16 byte aligned stack to have SSE code
and llvm work correctly. I think the better
is to just realign at d3d entry points.

Any suggestion whether that last patch should
be sent to mesa stable or not ?

Yours.

Axel Davy (12):
  st/nine: Do not set resource usage for SYSTEMMEM
  st/nine: Do not set SHARED flag for shared textures.
  st/nine: Clean useless code in texture9.c
  st/nine: Move texture creation checks
  st/nine: Clean pSharedHandle Texture ctors checks
  st/nine: Support ATI1/ATI2 for CubeTexture
  st/nine: Add format checks to create_zs_or_rt_surface
  st/nine: SCRATCH does support all formats
  st/nine: Fix stateblocks crashes with lights
  st/nine: Remove usage of SQRT in ff code
  st/nine: Drop path for ureg_NRM and ureg_CLAMP
  st/nine: Align stack for entry points

 src/gallium/state_trackers/nine/adapter9.c         |  44 +-
 src/gallium/state_trackers/nine/adapter9.h         |  18 +-
 .../state_trackers/nine/authenticatedchannel9.c    |  10 +-
 .../state_trackers/nine/authenticatedchannel9.h    |  10 +-
 src/gallium/state_trackers/nine/basetexture9.c     |  14 +-
 src/gallium/state_trackers/nine/basetexture9.h     |  14 +-
 src/gallium/state_trackers/nine/buffer9.c          |   4 +-
 src/gallium/state_trackers/nine/buffer9.h          |   4 +-
 src/gallium/state_trackers/nine/cryptosession9.c   |  18 +-
 src/gallium/state_trackers/nine/cryptosession9.h   |  18 +-
 src/gallium/state_trackers/nine/cubetexture9.c     |  25 +-
 src/gallium/state_trackers/nine/cubetexture9.h     |  10 +-
 src/gallium/state_trackers/nine/device9.c          | 250 ++++++------
 src/gallium/state_trackers/nine/device9.h          | 232 +++++------
 src/gallium/state_trackers/nine/device9ex.c        |  34 +-
 src/gallium/state_trackers/nine/device9ex.h        |  36 +-
 src/gallium/state_trackers/nine/device9video.c     |   6 +-
 src/gallium/state_trackers/nine/device9video.h     |   6 +-
 src/gallium/state_trackers/nine/indexbuffer9.c     |   6 +-
 src/gallium/state_trackers/nine/indexbuffer9.h     |   6 +-
 src/gallium/state_trackers/nine/iunknown.c         |   8 +-
 src/gallium/state_trackers/nine/iunknown.h         |   9 +-
 src/gallium/state_trackers/nine/nine_alignment.h   |  14 +
 src/gallium/state_trackers/nine/nine_ff.c          |  31 +-
 src/gallium/state_trackers/nine/nine_lock.c        | 444 ++++++++++-----------
 src/gallium/state_trackers/nine/nine_pipe.h        |   8 +-
 .../state_trackers/nine/nineexoverlayextension.c   |   2 +-
 .../state_trackers/nine/nineexoverlayextension.h   |   2 +-
 src/gallium/state_trackers/nine/pixelshader9.c     |   2 +-
 src/gallium/state_trackers/nine/pixelshader9.h     |   2 +-
 src/gallium/state_trackers/nine/query9.c           |   8 +-
 src/gallium/state_trackers/nine/query9.h           |   8 +-
 src/gallium/state_trackers/nine/resource9.c        |  14 +-
 src/gallium/state_trackers/nine/resource9.h        |  14 +-
 src/gallium/state_trackers/nine/stateblock9.c      |  44 +-
 src/gallium/state_trackers/nine/stateblock9.h      |   4 +-
 src/gallium/state_trackers/nine/surface9.c         |  26 +-
 src/gallium/state_trackers/nine/surface9.h         |  12 +-
 src/gallium/state_trackers/nine/swapchain9.c       |  20 +-
 src/gallium/state_trackers/nine/swapchain9.h       |  12 +-
 src/gallium/state_trackers/nine/swapchain9ex.c     |   6 +-
 src/gallium/state_trackers/nine/swapchain9ex.h     |   6 +-
 src/gallium/state_trackers/nine/texture9.c         |  48 +--
 src/gallium/state_trackers/nine/texture9.h         |  10 +-
 src/gallium/state_trackers/nine/vertexbuffer9.c    |   6 +-
 src/gallium/state_trackers/nine/vertexbuffer9.h    |   6 +-
 .../state_trackers/nine/vertexdeclaration9.c       |   2 +-
 .../state_trackers/nine/vertexdeclaration9.h       |   2 +-
 src/gallium/state_trackers/nine/vertexshader9.c    |   2 +-
 src/gallium/state_trackers/nine/vertexshader9.h    |   2 +-
 src/gallium/state_trackers/nine/volume9.c          |  20 +-
 src/gallium/state_trackers/nine/volume9.h          |  14 +-
 src/gallium/state_trackers/nine/volumetexture9.c   |  23 +-
 src/gallium/state_trackers/nine/volumetexture9.h   |  10 +-
 54 files changed, 812 insertions(+), 794 deletions(-)
 create mode 100644 src/gallium/state_trackers/nine/nine_alignment.h

-- 
2.7.0



More information about the mesa-dev mailing list