summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-07-14 21:11:14 -0700
committerJason Ekstrand <[email protected]>2016-07-15 15:48:21 -0700
commit593731ea3cc1aa9385e43ebc18c67574f181e1c3 (patch)
treeba86d823242e5c7e32390e1371b95480c76da3ea /src/intel/isl
parent827405f07259424ca716dcb217ef0a813ad67963 (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')
0 files changed, 0 insertions, 0 deletions