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:
committed by
Marge Bot
parent
76a4d5ce89
commit
10bc2cd3ae
@@ -376,7 +376,7 @@ vk_viewport_state_init(struct vk_viewport_state *vp,
|
||||
vk_find_struct_const(vp_info->pNext,
|
||||
PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT);
|
||||
if (vp_dcc_info != NULL)
|
||||
vp->negative_one_to_one = vp_dcc_info->negativeOneToOne;
|
||||
vp->depth_clip_negative_one_to_one = vp_dcc_info->negativeOneToOne;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -150,7 +150,7 @@ struct vk_tessellation_state {
|
||||
|
||||
struct vk_viewport_state {
|
||||
/** VkPipelineViewportDepthClipControlCreateInfoEXT::negativeOneToOne */
|
||||
bool negative_one_to_one;
|
||||
bool depth_clip_negative_one_to_one;
|
||||
|
||||
/** VkPipelineViewportStateCreateInfo::viewportCount */
|
||||
uint8_t viewport_count;
|
||||
|
||||
Reference in New Issue
Block a user