Module: Mesa Branch: master Commit: f5955c6bf869e323373c59c2687b463b7e16bdf4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5955c6bf869e323373c59c2687b463b7e16bdf4
Author: Samuel Pitoiset <[email protected]> Date: Thu Nov 30 20:58:29 2017 +0100 radv: do not set DISABLE_LSB_CEIL on GFX9 The state no longer exists on GFX9. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[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) | _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
