radv: fix RADV_FORCE_VRS for 2x1 and 1x2
The rates were inverted. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11578>
This commit is contained in:
@@ -1436,10 +1436,10 @@ shader_variant_compile(struct radv_device *device, struct vk_shader_module *modu
|
||||
options->force_vrs_rates = (1u << 2) | (1u << 4);
|
||||
break;
|
||||
case RADV_FORCE_VRS_2x1:
|
||||
options->force_vrs_rates = (0u << 2) | (1u << 4);
|
||||
options->force_vrs_rates = (1u << 2) | (0u << 4);
|
||||
break;
|
||||
case RADV_FORCE_VRS_1x2:
|
||||
options->force_vrs_rates = (1u << 2) | (0u << 4);
|
||||
options->force_vrs_rates = (0u << 2) | (1u << 4);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user