radv: handle GFX9 1D textures

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 12 September 2017 18:40 EDT

As GFX9 can't handle 1D depth textures, radeonsi and apparantly pro just update all 1D textures to 2D, and work around it.

This ports the workarounds from radeonsi.

1bcb953 radv: handle GFX9 1D textures
src/amd/common/ac_nir_to_llvm.c | 80 +++++++++++++++++++++++++++++++++++------
src/amd/vulkan/radv_image.c | 10 ++++--
2 files changed, 76 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share