vulkan: Rename viewport_state::negative_one_to_one

This makes it a bit clearer what it's for.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18878>
This commit is contained in:
Jason Ekstrand
2022-07-21 13:54:16 -05:00
committed by Marge Bot
parent 76a4d5ce89
commit 10bc2cd3ae
6 changed files with 7 additions and 7 deletions

View File

@@ -6179,7 +6179,7 @@ radv_graphics_pipeline_init(struct radv_graphics_pipeline *pipeline, struct radv
radv_pipeline_init_dynamic_state(pipeline, &state);
if (state.vp)
pipeline->negative_one_to_one = state.vp->negative_one_to_one;
pipeline->negative_one_to_one = state.vp->depth_clip_negative_one_to_one;
radv_pipeline_init_raster_state(pipeline, &state);