diff options
author | Jonathan Marek <[email protected]> | 2019-12-12 16:51:39 -0500 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-12-12 20:33:17 -0500 |
commit | 14cbe2dea5e510d5d2ff8b00851e8b6cea685694 (patch) | |
tree | 6bb667269e155b3dd8d9a628a4f10512e0510603 /src/freedreno/vulkan/tu_cmd_buffer.c | |
parent | 029322c1009d5e14ac4fbd34294915bc4f8ed7a7 (diff) |
turnip: fix hw binning render area
Fix a mistake in the y2 coordinate.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan/tu_cmd_buffer.c')
-rw-r--r-- | src/freedreno/vulkan/tu_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c index e30bc36fa2a..c0c308ed31b 100644 --- a/src/freedreno/vulkan/tu_cmd_buffer.c +++ b/src/freedreno/vulkan/tu_cmd_buffer.c @@ -1254,7 +1254,7 @@ tu6_emit_binning_pass(struct tu_cmd_buffer *cmd, struct tu_cs *cs) uint32_t x1 = tiling->tile0.offset.x; uint32_t y1 = tiling->tile0.offset.y; uint32_t x2 = tiling->render_area.offset.x + tiling->render_area.extent.width - 1; - uint32_t y2 = tiling->render_area.offset.x + tiling->render_area.extent.height - 1; + uint32_t y2 = tiling->render_area.offset.y + tiling->render_area.extent.height - 1; tu6_emit_window_scissor(cmd, cs, x1, y1, x2, y2); |