From 5de3d001e17ad3a0b5cdb593e12a65e5f636b797 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 9 Jan 2020 16:55:49 +1000 Subject: fix bounds --- src/gallium/state_trackers/vallium/val_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/vallium/val_execute.c b/src/gallium/state_trackers/vallium/val_execute.c index b89b3458707..2fe8e88af54 100644 --- a/src/gallium/state_trackers/vallium/val_execute.c +++ b/src/gallium/state_trackers/vallium/val_execute.c @@ -1186,7 +1186,7 @@ static VkResult handle_set_depth_bounds(struct val_cmd_buffer_entry *cmd, struct rendering_state *state) { state->dsa_state.depth.bounds_min = cmd->u.set_depth_bounds.min_depth; - state->dsa_state.depth.bounds_max = cmd->u.set_depth_bounds.min_depth; + state->dsa_state.depth.bounds_max = cmd->u.set_depth_bounds.max_depth; state->dsa_dirty = true; return VK_SUCCESS; } -- cgit v1.2.3