Reviewed-by: Bas Nieuwenhuizen <[email protected]>

On Thu, Nov 30, 2017 at 8:58 PM, Samuel Pitoiset
<[email protected]> wrote:
> The state no longer exists on GFX9.
>
> Signed-off-by: Samuel Pitoiset <[email protected]>
> ---
>  src/amd/vulkan/radv_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 62591c7e3d..7b1b20e335 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -3439,7 +3439,7 @@ radv_init_sampler(struct radv_device *device,
>                              
> S_008F38_XY_MIN_FILTER(radv_tex_filter(pCreateInfo->minFilter, max_aniso)) |
>                              
> S_008F38_MIP_FILTER(radv_tex_mipfilter(pCreateInfo->mipmapMode)) |
>                              S_008F38_MIP_POINT_PRECLAMP(0) |
> -                            S_008F38_DISABLE_LSB_CEIL(1) |
> +                            
> S_008F38_DISABLE_LSB_CEIL(device->physical_device->rad_info.chip_class <= VI) 
> |
>                              S_008F38_FILTER_PREC_FIX(1) |
>                              S_008F38_ANISO_OVERRIDE(is_vi));
>         sampler->state[3] = (S_008F3C_BORDER_COLOR_PTR(0) |
> --
> 2.15.0
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to