diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2021-02-10 18:07:39 +0100 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2021-02-10 20:42:02 +0100 |
commit | 329b26ab7654263dacd66254d898c02f16c4c77f (patch) | |
tree | f85f429b58d485355f6e2ab1cd44847a644f637c /.gitlab-ci/piglit | |
parent | aea36ee05e996f504186176b139b5ef9737cd323 (diff) |
lavapipe: report correct value for minMemoryMapAlignment
The vulkan spec says the following about vkMapMemory:
"ppData is a pointer to a void * variable in which is returned a
host-accessible pointer to the beginning of the mapped range. This
pointer minus offset must be aligned to at least
VkPhysicalDeviceLimits::minMemoryMapAlignment."
So let's report the same value as the gallium-driver reports, otherwise
we'll fail to adhere to the alignment requirement.
This fixes a few Piglit failures for Zink.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4267
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8965>
Diffstat (limited to '.gitlab-ci/piglit')
-rw-r--r-- | .gitlab-ci/piglit/zink-quick_gl.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gitlab-ci/piglit/zink-quick_gl.txt b/.gitlab-ci/piglit/zink-quick_gl.txt index 7e485b453c2..004754d5623 100644 --- a/.gitlab-ci/piglit/zink-quick_gl.txt +++ b/.gitlab-ci/piglit/zink-quick_gl.txt @@ -1005,7 +1005,6 @@ spec/arb_indirect_parameters/tf-count-arrays: skip spec/arb_indirect_parameters/tf-count-elements: skip spec/arb_internalformat_query/minmax: skip spec/arb_internalformat_query/misc. api error checks: skip -spec/arb_map_buffer_alignment/arb_map_buffer_alignment-sanity_test: fail spec/arb_pipeline_statistics_query/arb_pipeline_statistics_query-clip: skip spec/arb_pipeline_statistics_query/arb_pipeline_statistics_query-comp: skip spec/arb_pipeline_statistics_query/arb_pipeline_statistics_query-extra_prims: skip @@ -3354,8 +3353,8 @@ wgl/wgl-sanity: skip summary: name: results ---- -------- - pass: 17906 - fail: 1174 + pass: 17913 + fail: 1173 crash: 322 skip: 1829 timeout: 0 @@ -3366,4 +3365,4 @@ summary: changes: 0 fixes: 0 regressions: 0 - total: 21259 + total: 21265 |