diff options
author | Ian Romanick <[email protected]> | 2013-12-20 12:42:33 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-20 11:40:34 -0800 |
commit | 1ec663ab193e3dc87eb8729de4f0ecee7027961b (patch) | |
tree | cd50f4a85a4d5563e6f5360402d4f5c5e4a1f8f7 /scons/fixes.py | |
parent | c2352a88ed6595f1138de23a96f3152cf7a76778 (diff) |
i965: Ensure that intel_bufferobj_map_range meets alignment guarantees
No piglit regressions on IVB.
With minor tweaks to the arb_map_buffer_alignment-map-invalidate-range
test (disable the extension check, set alignment to 64 instead of
querying), the i965 driver would fail the test without this patch (as
predicted by Eric). With this patch, it passes.
v2: Remove MAX2(64, ...). Suggested by Ken.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Cc: Siavash Eliasi <[email protected]>
Diffstat (limited to 'scons/fixes.py')
0 files changed, 0 insertions, 0 deletions