summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-01-09 16:55:49 +1000
committerDave Airlie <airlied@redhat.com>2020-02-25 10:31:54 +1000
commit5de3d001e17ad3a0b5cdb593e12a65e5f636b797 (patch)
tree894ee635c85bf442da39a72a228fda8da23e6de8
parentdd5c3fae9afb84307a9aa6e9c9f1655b8d0ca6d2 (diff)
fix bounds
-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;
}