SprivShader: Replace hand-rolled bitreverse with LLVM intrinsic
Moved the hand-rolled implementation to Subzero.
As we've started exposing bit intrinsics, we might as fix the TODOs.
Bug: b/126873455
Tests: dEQP-VK.glsl.builtin.function.integer.bitfieldreverse.*
Change-Id: Ifadf25045b9ee4b435d9f6750c63334b7d4cad83
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28791
Presubmit-Ready: Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by:
Ben Clayton <bclayton@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Showing
Please
register
or
sign in
to comment