diff options
author | Jason Ekstrand <[email protected]> | 2016-07-14 21:11:14 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-15 15:48:21 -0700 |
commit | 593731ea3cc1aa9385e43ebc18c67574f181e1c3 (patch) | |
tree | ba86d823242e5c7e32390e1371b95480c76da3ea /src/intel/isl/isl.c | |
parent | 827405f07259424ca716dcb217ef0a813ad67963 (diff) |
anv: Handle VK_WHOLE_SIZE properly for buffer views
The old calculation, which used view->offset, encorporated buffer->offset
into the size calculation where it doesn't belong. This meant that, if
buffer->offset > buffer->size, you would always get a negative size. This
fixes 170 dEQP-VK.renderpass.attachment.* Vulkan CTS tests on Haswell.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.c')
0 files changed, 0 insertions, 0 deletions