[Mesa-dev] [PATCH 0/7] r600g: support for some integer ops

Vadim Girlin vadimgirlin at gmail.com
Sun Jan 15 06:56:29 PST 2012

Tested on evergreen and I hope everything should work on r600/r700, though it
needs to be tested (with glsl 1.30, gl 3.0, and

I haven't tried to support cayman, can't test it anyway - probably some minor
changes will be required to use this code with cayman.

  r600g: fix F2I on evergreen
  r600g: add FLT_TO_UINT opcode for evergreen
  r600g: implement F2U on evergreen
  r600g: implement IABS on r600-evergreen
  r600g: implement ISSG on r600-evergreen
  r600g: implement IDIV/UDIV on r600-evergreen
  r600g: add support for ISHR/USHR/SHL on r600-evergreen

 src/gallium/drivers/r600/r600_asm.c     |   14 +-
 src/gallium/drivers/r600/r600_opcodes.h |    2 +-
 src/gallium/drivers/r600/r600_shader.c  |  414 ++++++++++++++++++++++++++++++-
 3 files changed, 413 insertions(+), 17 deletions(-)


More information about the mesa-dev mailing list