summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/vallium/val_execute.c2
1 files changed, 1 insertions, 1 deletions
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;
}