Fixed PipelineLayout creation on 32 bit
The assumption that Cast(VkDescriptorSetLayout) is nothing
but a noop cast no longer hold on 32 bit, since the handle
and the pointer don't have the same size. Used the Cast()
function to solve the issue.
Bug chromium:968313
Change-Id: I0349d1f4f00ca983bbc4ca9c39be77d3a0b3d5bc
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32229Tested-by:
Alexis Hétu <sugoi@google.com>
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment