radv: rename RADV_FORCE_VRS_NONE to RADV_FORCE_VRS_1x1 and accept 1x1

It's the default value.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14713>
This commit is contained in:
Samuel Pitoiset
2022-01-25 13:50:19 +01:00
parent b4f526cc19
commit a862e15ee7
5 changed files with 7 additions and 5 deletions

View File

@@ -3664,7 +3664,7 @@ radv_consider_force_vrs(const struct radv_pipeline *pipeline, bool noop_fs, nir_
{
struct radv_device *device = pipeline->device;
if (device->force_vrs == RADV_FORCE_VRS_NONE)
if (device->force_vrs == RADV_FORCE_VRS_1x1)
return false;
/* Only VS and GS are supported for now. */