summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/genX_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index 53d8d660435..da4691121b7 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -461,7 +461,7 @@ get_fast_clear_state_address(const struct anv_device *device,
return (struct anv_address) {
.bo = image->planes[plane].bo,
- .offset = offset,
+ .offset = image->planes[plane].bo_offset + offset,
};
}