r600g: add doubles support for CAYMAN

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 2 September 2015 01:06 UTC

Only a subset of AMD GPUs supported by r600g support doubles, CAYMAN and CYPRESS are probably all we'll try and support, however I don't have a CYPRESS so ignore that for now.

This disables SB support for doubles, as we think we need to make the scheduler smarter to introduce delay slots.

[airlied: pushing this to avoid pain of rebasing, it mostly works on cayman only so far, Glenn has some ideas about delay slot issues we need to look into. turned off by default for now]

3be5ee1 r600g: add doubles support for CAYMAN
src/gallium/drivers/r600/r600_asm.c | 14 ++
src/gallium/drivers/r600/r600_asm.h | 15 ++
src/gallium/drivers/r600/r600_isa.h | 8 +-
src/gallium/drivers/r600/r600_shader.c | 388 +++++++++++++++++++++++++++++++-
src/gallium/drivers/r600/r600_shader.h | 2 +
5 files changed, 421 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share