Re: [Mesa-dev] [PATCH v2] ac: fix texture query LOD for 1D textures on GFX9

2018-04-27 Thread Nicolai Hähnle
Reviewed-by: Nicolai Hähnle On 25.04.2018 18:15, Samuel Pitoiset wrote: 1D textures are allocated as 2D which means we only need one coordinate for texture query LOD. v2: - move the fixup into ac_nir_to_llvm Fixes: 625dcbbc456 ("amd/common: pass address components individually to ac_build_ima

Re: [Mesa-dev] [PATCH v2] ac: fix texture query LOD for 1D textures on GFX9

2018-04-27 Thread Samuel Pitoiset
Nicolai, how about this v2? I would like to have this fix in -rc2. On 04/25/2018 06:15 PM, Samuel Pitoiset wrote: 1D textures are allocated as 2D which means we only need one coordinate for texture query LOD. v2: - move the fixup into ac_nir_to_llvm Fixes: 625dcbbc456 ("amd/common: pass addres

[Mesa-dev] [PATCH v2] ac: fix texture query LOD for 1D textures on GFX9

2018-04-25 Thread Samuel Pitoiset
1D textures are allocated as 2D which means we only need one coordinate for texture query LOD. v2: - move the fixup into ac_nir_to_llvm Fixes: 625dcbbc456 ("amd/common: pass address components individually to ac_build_image_intrinsic") Cc: 18.1 Signed-off-by: Samuel Pitoiset --- src/amd/common